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

Description Usage Arguments Value

View source: R/bh.R

Description

For a single year/sex/region of data (formatted as required by seg(), ggbseg()), what is the registration coverage implied by a given age range? Called by segCoverageFromYear() and ggbsegCoverageFromYear(). Here, the function simply takes the arithmetic mean of a given age range of $Cx, as returned by segMakeColumns() or ggbsegMakeColumns(). Not intended for top-level use.

Usage

1
segCoverageFromAges(codi, agesFit)

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.

Value

numeric. the estimated level of coverage.


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

Related to segCoverageFromAges in DDM...