ggbMakeColumns | R Documentation |
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.
ggbMakeColumns(
codi,
minA = 15,
maxA = 75,
nx.method = 2,
deaths.summed = FALSE,
mig.summed = deaths.summed
)
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) |
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 |
codi, with many columns added, most importantly rightterm
, leftterm
, and keep
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.