Description Usage Arguments Author(s) See Also Examples
This function removes variables in a data frame if the values they contain have averages that are smaller/greater than a threshold, or if they are highly correlated with other variables.
1 2 |
df |
a data frame or matrix upon which the removal process is applied. |
type |
a character indicating what type of removal criterion should be applied. Options include |
threshold |
numeric; if |
smaller |
logical; for the use of |
index |
integers connected by a colon indicating which columns in the data frame should be considered. If ommitted, all columns are considered by default. |
Zehua Wu
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.