> From: Thomas Lumley
>
> On Thu, 7 Apr 2005, Liaw, Andy wrote:
>
> > - It seems counter-intuitive to allow non-integer values as
> operand for ":".
> > It also seems a bit odd that 1:2 returns something with storage.mode
> > integer, whereas 0.5:2 gives doubles. Would it make sense
> to disa
On Thu, 7 Apr 2005, Liaw, Andy wrote:
- It seems counter-intuitive to allow non-integer values as operand for ":".
It also seems a bit odd that 1:2 returns something with storage.mode
integer, whereas 0.5:2 gives doubles. Would it make sense to disallow
non-integer operands to ":"? I can't think
Dear R-devel,
A colleague was recently surprised by the behavior of the ":" operator (as
sequence generator), so I decided to dig a little bit. Here are a couple of
things I found.
- ?":" seems a bit imprecise. The Details section says:
`The operator : and the seq(from, to) form generate the