Learn R Programming

Indicator (version 0.1.3)

standardization: Standardization

Description

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

Usage

standardization(data)

Value

It returns a dataframe of scaled data

Arguments

data

dataframe with rows = observations and columns = quantitative variables

References

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>

Examples

Run this code

data("Education")
Standardization=standardization(Education)
print(Standardization)

Run the code above in your browser using DataLab