standardize | R Documentation |
If both arguments center and scale are FALSE, function will throw an error to ensure user is aware of this potential mistake.
standardize(x, center = TRUE, scale = TRUE)
x |
a vector or 2D array of numeric or integer values |
center |
logical if TRUE will center the resulting object |
scale |
logical if TRUE data will be returned as z-score transform of x. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.