| standardize | R Documentation | 
Standardizes a vector or column of data by centering around the mean and making standard deviation equal to one
standardize(x)
| x | A vector of data values to be standardized | 
Note: This function automatically removes NAs when calculating the mean and standard deviation
Standardized data values
ex <- standardize(rnorm(100, 10, 5))
mean(ex)
sd(ex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.