prep.scale: Scaling data columns.

View source: R/prep.R

prep.scaleR Documentation

Scaling data columns.

Description

Scaling data columns.

Usage

prep.scale(data, type = "sd", max.cov = 0, scale = NULL)

Arguments

data

a matrix with data values.

type

type of statistic to use for scaling ('sd', 'iqr', 'range', 'pareto')

max.cov

columns that have coefficient of variation (in percent) below or equal to 'max.cov' will not be scaled.

scale

do not use, required for training of preprocessing model.

Value

preprocessed data matrix


mdatools documentation built on March 6, 2026, 5:08 p.m.