l_getScaledData: Data Scaling

View source: R/l_getScaledData.R

l_getScaledDataR Documentation

Data Scaling

Description

Scaling the data set

Usage

l_getScaledData(
  data,
  sequence = NULL,
  scaling = c("variable", "observation", "data", "none"),
  displayOrder = NULL,
  reserve = FALSE,
  as.data.frame = FALSE
)

Arguments

data

A data frame

sequence

vector with variable names that are scaled. If NULL, it will be set as the whole column names (all data set will be scaled).

scaling

one of 'variable', 'data', 'observation' or 'none' to specify how the data is scaled. See details

displayOrder

the order of the display

reserve

If TRUE, return the variables not shown in sequence as well; else only return the variables defined in sequence.

as.data.frame

Return a matrix or a data.frame

Details

The scaling state defines how the data is scaled. The axes display 0 at one end and 1 at the other. For the following explanation assume that the data is in a nxp dimensional matrix. The scaling options are then

variable per column scaling
observation per row scaling
data whole matrix scaling
none do not scale

See Also

l_serialaxes


loon documentation built on July 9, 2023, 5:48 p.m.