get_quantile_breaks.RdProvides a set of potential split points for data according to quantiles (if possible)
get_quantile_breaks(X, X_range, g = 20, type = 3)
| X | Features |
|---|---|
| X_range | X-range |
| g | # of quantiles |
| type | Quantile type (see ?quantile and https://mathworld.wolfram.com/Quantile.html). Types1-3 are discrete and this is good for passing to unique() when there are clumps |
list of potential breaks