ggbcoverageFromAges {DDM}R Documentation

given a set of ages, what is the implied death registration coverage?

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

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.


[Package DDM version 1.0-0 Index]