cutbw.Rd
cutbw(x, k = NULL, min_n = NULL, warn = FALSE)
x | A numeric variable. |
---|---|
k | The desired number of active bins. A bin is active if it contains at least |
min_n | The minimum number of observations necessary for a bin to count as an active bin. Defaults to
|
warn | Whether or not to print a warning if the desired number of bins is not possible. |
An ordinal factor variable.
Experimental.