Description Usage Arguments See Also Examples
View source: R/variable_binning.R
cut_equal
is used to generate initial breaks for equal frequency binning.
1 |
dat_x |
A vector of an variable x. |
g |
numeric, number of initial bins for equal_bins. |
sp_values |
a list of special value. Default: list(-1, "missing") |
cut_bin |
A string, 'equal_depth' or 'equal_width', default is 'equal_depth'. |
get_breaks
, get_breaks_all
,get_tree_breaks
1 2 | #equal sample size breaks
equ_breaks = cut_equal(dat = UCICreditCard[, "PAY_AMT2"], g = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.