preprocess {OTclust} | R Documentation |
Data preprocessing
Description
Preprocessing for dimension reduction based on variance, it will delete the variable whose variance is smaller than 0.5*mean variance of all variables.
Usage
preprocess(data, l = TRUE, pre = TRUE)
Arguments
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. |
Value
the processed data.
Examples
data(YAN)
preprocess(YAN,l=FALSE,pre=TRUE)
[Package OTclust version 1.0.6 Index]