| standardize | R Documentation |
Sometimes it is desirable to have all variables to have mean 0 and standard deviation 1. This function rescales the values in such a way.
If the argument is not a matrix, the function tries to convert the object into a matrix. For example, it works smoothly for xts objects.
standardize(data)
data |
|
matrix
normalize
standardize(crudeoil)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.