myScale {KarsTS}R Documentation

myScale: scaling function

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

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


[Package KarsTS version 2.4.1 Index]