powered by
cut_equal is used to generate initial breaks for equal frequency binning.
cut_equal
cut_equal(dat_x, g = 10, sp_values = list(-1, "Unknown"))
A vector of an variable x.
numeric, number of initial bins for equal_bins.
a list of special value. Default: list(-1, "Unknown")
get_breaks, get_breaks_all,get_tree_breaks
get_breaks
get_breaks_all
get_tree_breaks
# NOT RUN { #equal sample size breaks equ_breaks = cut_equal(dat = UCICreditCard[, "PAY_AMT2"], g = 10) # }
Run the code above in your browser using DataLab