Learn R Programming

popEpi (version 0.4.12)

ICSS: Age standardisation weights from the ICSS scheme.

Description

Contains three sets age-standardisation weights for age-standardized survival (net, relative or observed).

Arguments

Format

data.table with columns

  • age - lower bound of the age group

  • ICSS1 - first set of weights, sums to 100 000

  • ICSS2 - second set of weights, sums to 100 000

  • ICSS3 - third set of weights, sums to 100 000

See Also

Other popEpi data: meanpop_fi, popmort, sibr, sire, stdpop101, stdpop18

Other weights: direct_standardization, stdpop101, stdpop18

Examples

Run this code
## aggregate weights to a subset of age groups
data(ICSS)
cut <- c(0, 30, 50, 70, Inf)
agegr <- cut(ICSS$age, cut, right = FALSE)
aggregate(ICSS1~agegr, data = ICSS, FUN = sum)

Run the code above in your browser using DataLab