Description Usage Arguments Value Examples
split_bins
is for binning using breaks.
1 2 3 4 5 6 7 8 9 10 |
dat |
A data.frame with independent variables. |
x |
The name of an independent variable. |
breaks |
Breaks for binning. |
bins_no |
Number the generated bins. Default is TRUE. |
as_factor |
Whether to convert to factor type. |
labels |
Labels of bins. |
use_NA |
Whether to process NAs. |
char_free |
Logical, if TRUE, characters are not splitted. |
A data.frame with Bined x.
1 2 | bins = split_bins(dat = UCICreditCard,
x = "PAY_AMT1", breaks = NULL, bins_no = TRUE)
|
Package 'creditmodel' version 1.2.7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.