View source: R/pyramidwrapper.r
funpyrwrapper | R Documentation |
This function allows you to calculate population size by sex or by regions using the MSDem output
funpyrwrapper(
res1,
ivar = "pop",
iTime,
iiscen,
iscale = 1,
facet.scale = "fixed",
ititle.text = NULL,
icol = "xxx"
)
res1 |
data |
agel |
lower limit - default is 0 |
ageu |
upper limit - default it 'max' |
period |
specific periods - default is NULL |
sex |
specific sex - default is NULL |
bysex |
group by sex - default is FALSE |
reg |
specific region(s) |
byreg |
group by regions - default is FALSE |
resi |
specific residence(s) |
byresi |
group by residences - default is FALSE |
R list with five data.table 1) var_def 2) state_space 3) mig_dom 4) mig_int 5) results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.