preprocess: Data preprocessing

View source: R/preprocess.R

preprocessR 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)

OTclust documentation built on Oct. 6, 2023, 5:09 p.m.