View source: R/scale_dataframe.R
scale.data.frame | R Documentation |
scale.data.frame
is generic function whose default method centers and/or scales the columns of a numeric in data frame.
The non-numeric values in the data frame will remain unchanged.
In short, it is a generic function of scale
.
## S3 method for class 'data.frame'
scale(x, center = TRUE, scale = TRUE)
x |
a data frame object. |
center |
either a logical value or numeric-alike vector of length equal to the number of columns of data frame, where ‘numeric-alike’ means that |
scale |
either a logical value or a numeric-alike vector of length equal to the number of columns of data frame. |
a data frame object.
scale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.