jonmcalder / refactor

:bookmark: Better factor handling for R
https://jonmcalder.github.io/refactor/
MIT License
3 stars 0 forks source link

cut.integer does not produce labels of binwidth when breaks are specified as integer. #19

Closed lorenzwalthert closed 8 years ago

lorenzwalthert commented 8 years ago

The solution of binwidth one is only working for breaks specified as breakpoints.

lorenzwalthert commented 8 years ago

just figured that out as well. one hour ago 😩. What do you suggest? I was actually thinking about using the seq function to first convert breaks into actual breakpoints if supplied as a scalar and then proceed. Otherwise, we need to provide 'parallel' support for both cases along the way. What do you think?

lorenzwalthert commented 8 years ago

fixed by commit 9cd3091865ad42cfe5ff564af7c1ab48ec4849d6