Learn R Programming

ggESDA (version 0.2.0)

scale: scale for symbolic data table

Description

scale for symbolic data table

Usage

scale(x, ...)

# S3 method for default scale(x, center = TRUE, scale = TRUE, ...)

# S3 method for symbolic_tbl scale(x, ...)

# S3 method for symbolic_interval scale(x, ...)

Value

Return a scale ggESDA object.

Arguments

x

A ggESDA object. It can also be either RSDA object or classical data frame, which will be automatically convert to ggESDA data.

...

Used by other R function.

center

same as base::scale, either a logical value or numeric-alike vector of length equal to the number of columns of x, where ‘numeric-alike’ means that as.numeric(.) will be applied successfully if is.numeric(.) is not true.

scale

same as base::scale, either a logical value or a numeric-alike vector of length equal to the number of columns of x.

Examples

Run this code

#For all interval-valued
scale(facedata)

#For both interval-valued and modal multi-valued
scale(mtcars.i)

Run the code above in your browser using DataLab