get_scaledData: scale data

View source: R/unexported_loon_functions.R

get_scaledDataR Documentation

scale data

Description

It is mainly used in serial axes

Usage

get_scaledData(
  data,
  sequence = NULL,
  scaling = c("data", "variable", "observation", "none"),
  displayOrder = NULL,
  reserve = 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 data, variable, observation or none (not suggested the layout is the same with data) to specify how the data is scaled.

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


z267xu/ggmulti documentation built on April 12, 2024, 1:31 p.m.