You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior is to return an integer vector. To be consistent with cut(), and to be safer to use, I think this function should return by default a factor - possible an ordered factor.
also I think we can drop the lowest argument?
The breaks argument in R is usually used to provide the breaking values - here if those are done manually, they are sent to split instead.
Rename split to method?
We should add a right = TRUE argument, like with cut().
cut(), and to be safer to use, I think this function should return by default a factor - possible an ordered factor.lowestargument?breaksargument in R is usually used to provide the breaking values - here if those are done manually, they are sent tosplitinstead.splittomethod?right = TRUEargument, like withcut().