[R] Problem with cut
Jussi.Lehto at ubs.com
Jussi.Lehto at ubs.com
Fri Feb 22 14:21:28 CET 2008
Hi All,
I might misunderstood how cut works. But following behaviour surprises
me.
vv <- seq(150, 346, by= 4)
cc <- cut(vv, 12)
cc[vv == 330]
Results [1] (330,346]
I would have expected 330 to fall into (313,330] category.
Can you please advice what do I do wrong?
Many Thanks,
Jussi Lehto
-------------- next part --------------
Visit our website at http://www.ubs.com
This message contains confidential information and is in...{{dropped:29}}
More information about the R-help
mailing list