scale2 | R Documentation |
For numeric vectors, returns a scaled numeric vector (not an array); otherwise returns scale(x)
scale2(x)
x |
A numeric matrix(like object). |
A scaled vector or matrix or array
x <- scale2(mtcars$mpg)
class(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.