getUnitSummary: Generate unit summary table

Description Usage Arguments Details Value See Also Examples

View source: R/coin_resultstable.R

Description

Generates a summary table for a single unit. This is mostly useful in unit reports.

Usage

1
getUnitSummary(COIN, usel, aglevs)

Arguments

COIN

A COIN

usel

A selected unit code

aglevs

The aggregation levels to display results from.

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.

Value

A summary table as a data frame, containing scores and ranks for specified indicators/aggregates.

See Also

Examples

1
2
3
4
# build ASEM COIN up to aggregation
ASEM <- build_ASEM()
# generate unit summary for NZ - index and sub-indexes only
getUnitSummary(ASEM, usel ="NZL", aglevs = c(4,3))

COINr documentation built on Nov. 30, 2021, 9:06 a.m.