include.lowest
missing in function arguments of cut_interval et.al.
#2197
Labels
include.lowest
missing in function arguments of cut_interval et.al.
#2197
The documentation for
cut_interval
readsOne of the arguments of base::cut is
include.lowest
, but using it withcut_interval
/cut_number
/cut_width
results in an error.So either
include.lowest = TRUE
should be included in the main function arguments ofcut_interval
et.al., e.g.cut_number(x, n = NULL, include.lowest = TRUE, ...)
This is to be preferred IMHO since it makes it's use transparent. Or the documentation should be transparent aboutinclude.lowest
not being allowed.BTW: Shouldn't these functions rather be part of
scales
, since both these functions and scales are about transforming variables?The text was updated successfully, but these errors were encountered: