loon (version 1.3.3)

l_getScaledData: 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

See Also

l_serialaxes