segCoverageFromAges | R Documentation |
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.
segCoverageFromAges(codi, agesFit)
codi |
a chunk of data (single sex, year, region, etc) with all columns required by |
agesFit |
an integer vector of ages, either returned from |
numeric. the estimated level of coverage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.