segMakeColumns | R Documentation |
Called by segCoverageFromYear()
. This simply modulates some code that would otherwise be repeated. Users probably don't need to call this function directly.
segMakeColumns(
codi,
minA = 15,
maxA = 75,
eOpen = NULL,
nx.method = 2,
deaths.summed = FALSE,
mig.summed = deaths.summed,
delta = FALSE,
exact.ages.ggb = NULL,
lm.method = "oldschool",
opt.method = "r2",
minAges.ggb = 8
)
codi |
|
minA |
the lowest age to be included in search |
maxA |
the highest age to be included in search (the lower bound thereof) |
eOpen |
optional. A user-specified value for remaining life-expectancy in the open age group. |
nx.method |
either 2 or 4. 4 is smoother. |
deaths.summed |
logical. is the deaths column given as the total per age in the intercensal period ( |
mig.summed |
logical. Is the (optional) net migration column |
delta |
logical. Do we perform the so-called delta adjustment? |
exact.ages.ggb |
optional vector of ages used to estimate GGB coverage (if |
lm.method |
character, one of:
|
opt.method |
what kind of residual do we minimize? choices |
minAges.ggb |
the minimum number of adjacent ages to be used in estimating GGB coverage. |
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.