ggbFittedFromAges {DDM} | R Documentation |
make the growth-adjusted quasi life table columns required by GGB method
Description
Called by ggbChooseAges()
and ggbcoverageFromYear()
. This simply modulates some code that would otherwise be repeated. Users probably don't need to call this function directly. If columns produced by ggbMakeColumns()
are not present, then we call it here just to keep things from breaking.
Usage
ggbFittedFromAges(codi, agesfit, deaths.summed = FALSE)
Arguments
codi |
a chunk of data (single sex, year, region, etc) with all columns required by |
agesfit |
an a priori set of ages for which to calculate the fit |
deaths.summed |
logical. is the deaths column given as the total per age in the intercensal period ( |
Value
codi, with many columns added, most importantly $rightterm
, $leftterm
, and $exclude
.
[Package DDM version 1.0-0 Index]