myScale: myScale: scaling function

Description Usage Arguments Author(s)

View source: R/myScale.R

Description

This function is used to scale one or more variables with the possibility of removing the attributes from the base::scale output. It is also possible to perform a robust scaling using the median and the median absolute deviation instead of the mean and the standard deviation. It is used internally.

Usage

1
myScale(inputMatrix, scaleType = "Robust", outputType = c("outDef", "outList", "outNo"))

Arguments

inputMatrix

Matrix containing the variables to scale.

scaleType

Robust scaling or not

outputType

Three types of outputs: output as in base::scale, attributes removed but stored in a list and no attributes at all.

Author(s)

Marina Saez Andreu


KarsTS documentation built on Jan. 16, 2021, 5:07 p.m.