segMakeColumns {DDM} | R Documentation |
make the Bennett-Horiuchi quasi life table columns required by the estimation method
Description
Called by segCoverageFromYear()
. This simply modulates some code that would otherwise be repeated. Users probably don't need to call this function directly.
Usage
segMakeColumns(codi, minA = 15, maxA = 75, eOpen = NULL,
deaths.summed = FALSE)
Arguments
codi |
a chunk of data (single sex, year, region, etc) with all columns required by |
minA |
the minimum of the age range searched. Default 15 |
maxA |
the maximum of the age range searched. Default 75 |
eOpen |
optional. A value for remaining life expectancy in the open age group. |
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 $Cx
.
[Package DDM version 1.0-0 Index]