Displaying 1 result from an estimated 1 matches for "r716p1o".
2002 Jan 15
1
labels returned by cut() when include.lowest=T (PR#1263)
...I think the last range in this case should be [3,4]. A similar
problem exists for the first range when right=T.
Here is a possible patch against 1.4.0, which on the above example gives:
[1,2) [2,3) [3,4]
1 0 1
Stephen
*** /tmp/cut.R.orig716Cri Mon Jan 14 22:58:12 2002
--- /tmp/cut.R716P1o Mon Jan 14 22:58:12 2002
***************
*** 25,30 ****
--- 25,35 ----
ch.br[-nb], ",", ch.br[-1],
if(right)"]" else ")", sep='')
else paste("Range", 1:(nb - 1),sep="_")
+ if (ok && include.lowest)
+...