Hello. I'm italian, and I have a doubt about cut function.
I case
y=c(51,100)
cut(y,breaks=2)-----> (51,75.5] (75.5,100)
II case
y=c(40,100)
cut(y,breaks=2) ------> (39.9,70] (70,100]
Because in the II case, (39.9,70] and not (40,70] ?
Hello. I'm italian, and I have a doubt about cut function.
I case
y=c(51,100)
cut(y,breaks=2)-----> (51,75.5] (75.5,100)
II case
y=c(40,100)
cut(y,breaks=2) ------> (39.9,70] (70,100]
Because in the II case, (39.9,70] and not (40,70] ?
is everything on the left side of your arrow supposed to be the same in both cases ?
No, but in the II case, I expect (40,70], and no [39.9,70]. Is it a bug of the software?
P.s. Sorry, i changed the original post.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.