Description Usage Arguments Value Examples
used for binning the numeric values by empirical quantile
1 2 | iterative_quant_bin(data, bin_cols, nbins, jit = rep(0, length(bin_cols)),
output = "data")
|
data |
data frame to be binned (will coerce matrix or tibble to simple data frame) |
bin_cols |
vector of column names of variables to iteratively bin, ordered first to last |
nbins |
vector of number of bins per step of iterative binning, ordered first to last |
jit |
vector of margins for uniform jitter to each dimension to create seperability of tied obs due to finite precision |
output |
Output Structure: "data" for just the binned data,"definition" for a list of bin centers and boundaries, or "both" for list containing both data and definition |
output as specified
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.