Description Usage Arguments Details Value
Called by ggbsegCoverageFromYear()
. This simply modulates some code that would otherwise be repeated. Users probably don't need to call this function directly.
1 2 | ggbsegMakeColumns(codi, minA = 15, maxA = 75, agesFit, eOpen = NULL,
deaths.summed = FALSE)
|
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 |
agesFit |
vector of ages as passed in by |
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 ( |
agesFit
is a vector passed in from ggbsegMakeColumns()
, and it was either estimated using the GGB automatic method there, or simply came from the argument exact.ages
specified in ggbseg()
. By default we just automatically estimate these. eOpen
can be either user-specified, or it will be estimated automatically using eOpenCD()
.
codi, with many columns added, most importantly $Cx
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.