Description Usage Arguments Details Value See Also
delSinvalPercent
will delete variables whose single-value percent is more than or equal to the given threshold, then return a new dataframe.
1 | delSinvalPercent(df, percent = 0.9, exclude = NULL)
|
df |
A dataframe. |
percent |
The given threshold, default |
exclude |
Vector of column names or numbers to exclude, default |
generally, in score model, the threshold of single value percent is often set to 0.9.
A dataframe after deleted
Other data preprocessing functions: delFewValues
,
delNArate
, excludeCol
,
maxSinvalPercent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.