get_scaledData: scale data

View source: R/get_scaledData.R

get_scaledDataR Documentation

scale data

Description

It is mainly used in serial axes

Usage

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

Arguments

data

A data frame

sequence

vector with variable names that defines the axes sequence. If NULL, it will be set as the column names automatically.

scaling

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

displayOrder

the order of the display

keep

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


loon.ggplot documentation built on Nov. 13, 2022, 1:06 a.m.