Learn R Programming

OTclust (version 1.0.6)

preprocess: 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)

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.

Examples

Run this code
data(YAN)
preprocess(YAN,l=FALSE,pre=TRUE)

Run the code above in your browser using DataLab