[Rd] cut.default labels when short range

Dan Murphy chiefmurphy at gmail.com
Fri Oct 30 21:15:05 CET 2015


I stumbled across an anomaly when running cut(4,4) in that the
rightmost level's right endpoint did not display the expansion of the
range as per ?cut.default. Modifying the last example there
cut(0:6, 3)
produces the documented behavior, as does
cut(0:6, 6)
but not
cut(0:5, 5)
cut(0:5, 5, dig.lab = 4)

Perhaps there is another documented point I am overlooking?

Thanks for all your great work.

More information about the R-devel mailing list