Description Usage Arguments Value Examples
This function projects an (synthetic) population from aggregate census data. Members of the population are categorised by age, sex, ethnicity and geographical location. - births are a single child only (assumed that twins etc are accounted for in the fertility rate) - newborns are equally likely to be male or female (this may be incorrect esp. for certain ethnicities) - ethnicity of newborn is the same as mother (in the absence of other information) - the death rate for age zero is the average of the rate of stillbirths and deaths under one year - births supersede deaths: thus a person who gives birth and dies in a single year will have a surviving child
| 1 | microsimulate(synpop, years)
 | 
| synpop | a dataframe containing the base population to be projected | 
| years | a number of years to run the simulation | 
a data.table containing the projected population
| 1 2 3 4 5 | ## Not run: 
synpop = microsynthesise()
projpop = microsimulate(synpop, 10)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.