Description Usage Arguments Value Examples
This function creates a data frame with binned variables
1 | createBins(binObj, df, xVars, prefix = "b_")
|
binObj |
- An object returned by getBins or any other function in this package |
df |
- A data frame |
xVars |
- A vector of names of variables for which bins have to be created |
prefix |
- The prefix to be added to the variable name to create the new variable. Default value is b_ |
Returns a dataframe which adds the binned variables to the original data frame
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.