View source: R/standardization.R
standardization | R Documentation |
It performs a standardization of data, i.e., centering and scaling, so that the data is expressed in terms of standard deviation (i.e., mean = 0, SD = 1). When applied to a statistical model, this function extracts the dataset, standardizes it, and refits the model with this standardized version of the dataset
standardization(data)
data |
dataframe with rows = observations and columns = quantitative variables |
It returns a dataframe of scaled data
OECD/European Union/EC-JRC (2008), Handbook on Constructing Composite Indicators: Methodology and User Guide, OECD Publishing, Paris, <https://doi.org/10.1787/9789264043466-en>
data("Education")
Standardization=standardization(Education)
print(Standardization)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.