Description Usage Arguments Details Examples
View source: R/auto.bin_Function.R
Creates bins automatically by using the output of the bin
function through the %>%
operator. An example is presented below.
1 |
sbin |
The output of the |
df |
The desired dataset to which the automatic binning should be applied to. |
This function is intended to help the user achieve efficiency when binning variables. By first using the bin
function to determine the optimum binnings for the respective variable, the user can then pass the bin
function into the auto.bin
function by using the %>%
operator and the result is an object that can be assigned back to the dataset or a stand-alone object.
This function also deals with missing values (NA
).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.