preprocess | R Documentation |
Preprocessing for dimension reduction based on variance, it will delete the variable whose variance is smaller than 0.5*mean variance of all variables.
preprocess(data, l = TRUE, pre = TRUE)
data |
– data that needs to be processed |
l |
– logical. If True, log-transformation will be carried out on the data. |
pre |
– logical. If True, pre-dimension reduction will be carried out based on the variance. |
the processed data.
data(YAN)
preprocess(YAN,l=FALSE,pre=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.