linear_aggregation {Indicator} | R Documentation |
Linear Aggregation
Description
This is a function to apply linear aggregation index
Usage
linear_aggregation(data, weights = rep(1/ncol(data), ncol(data)))
Arguments
data |
dataframe with rows = observations and columns = quantitative variables |
weights |
vector of weights (default all weights = 1/ ncol(dataframe)) |
Value
It returns a dataframe with rows = observations and column = composite indicator
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
data("Education")
Indicator=linear_aggregation(Education)
print(Indicator)
[Package Indicator version 0.1.2 Index]