Description Usage Arguments Value See Also
Called by ggbcoverageFromYear()
whenever exact.ages
are not given. This automates what one typically does visually.
1 2 | ggbgetAgesFit(codi, minA = 15, maxA = 75, minAges = 8,
deaths.summed = FALSE)
|
codi |
a chunk of data (single sex, year, region, etc) with all columns required by |
minA |
the lowest age to be included in search |
maxA |
the highest age to be included in search (the lower bound thereof) |
minAges |
the minimum number of adjacent ages to be used in estimating |
deaths.summed |
logical. is the deaths column given as the total per age in the intercensal period ( |
a vector of ages that minimizes the RMSE
codeggbChooseAges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.