Description Usage Arguments Value Examples
level.stat
provides the useful statistics for different levels (groups)
in the given independent variables.
1 | level.stat(data, x = NULL, y, flag.0 = 0, flag.1 = 1)
|
data |
The data frame used for the statistics |
x |
The independent variable. If it is NULL, then all variables except y are used. |
y |
The binary outputs |
flag.0 |
The value representing 0 in y |
flag.1 |
The value representing 1 in y |
a data frame inclduing frequency, rates, Weight of Evidence (WOE), and Information Value (IV) for each level. The return data is already ranked by the IV values from high to low.
1 2 | data <- rpart::stagec
level.stat(data, x = c('eet', 'ploidy'), y = 'pgstat')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.