scale {ggESDA} | R Documentation |
scale for symbolic data table
Description
scale for symbolic data table
Usage
scale(x, ...)
## Default S3 method:
scale(x, center = TRUE, scale = TRUE, ...)
## S3 method for class 'symbolic_tbl'
scale(x, ...)
## S3 method for class 'symbolic_interval'
scale(x, ...)
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. |
Value
Return a scale ggESDA object.
Examples
#For all interval-valued
scale(facedata)
#For both interval-valued and modal multi-valued
scale(mtcars.i)
[Package ggESDA version 0.2.0 Index]