ggbcoverageFromAges: given a set of ages, what is the implied death registration...

Description Usage Arguments Value

View source: R/ggb.R

Description

For a single year/sex/region of data (formatted as required by ggb()), what is the registration coverage implied by a given age range? Called by ggbcoverageFromYear() and ggbChooseAges().

Usage

1
ggbcoverageFromAges(codi, agesfit, deaths.summed = FALSE)

Arguments

codi

a chunk of data (single sex, year, region, etc) with all columns required by ggb()

agesfit

an integer vector of ages, either returned from ggbgetAgesFit or user-supplied.

deaths.summed

logical. is the deaths column given as the total per age in the intercensal period (TRUE). By default we assume FALSE, i.e. that the average annual was given.

Value

numeric. the estimated level of coverage.


DDM documentation built on May 2, 2019, 6:16 a.m.

Related to ggbcoverageFromAges in DDM...