Description Usage Arguments Value Examples
View source: R/data_cleansing.R
low_variance_filter
is for removing variables with repeated values up to a certain percentage.
1 2 3 4 5 6 7 | low_variance_filter(
dat,
lvp = 0.97,
only_NA = FALSE,
note = FALSE,
ex_cols = NULL
)
|
dat |
A data frame with x and target. |
lvp |
The maximum percent of unique values (including NAs). |
only_NA |
Logical, only process variables which NA's rate are more than lvp. |
note |
Logical.Outputs info.Default is TRUE. |
ex_cols |
A list of excluded variables. Default is NULL. |
A data.frame
1 | dat = low_variance_filter(lendingclub[1:1000, ], lvp = 0.9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.