segCoverageFromAges {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 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

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.


[Package DDM version 1.0-0 Index]