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)
Value
the processed data.
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.