A summary table as a data frame, containing scores and ranks for specified indicators/aggregates.
Arguments
coin
A coin
usel
A selected unit code
Levels
The aggregation levels to display results from.
dset
The data set within the coin to extract scores and ranks from
nround
Number of decimals to round scores to, default 2. Set to NULL to disable rounding.
Details
This returns the scores and ranks for each indicator/aggregate as specified in aglevs. It orders the table so that
the highest aggregation levels are first. This means that if the index level is included, it will be first.
This function replaces the now-defunct getUnitSummary() from COINr < v1.0.
# build full example coincoin <- build_example_coin(quietly = TRUE)
# summary of scores for IND at levels 4, 3 and 2get_unit_summary(coin, usel = "IND", Levels = c(4,3,2), dset = "Aggregated")