View source: R/parity_assess.R
prtyImplaus | R Documentation |
Implausible Parities correction function
prtyImplaus(ages, parity, women, age_group = "q")
ages |
A vector of ages or starting ages of age group intervals |
parity |
A vector of parities for each age group |
women |
A vector of women counts by parity and age group |
age_group |
Character assuming values 'q' (default) for quinquennial age group or 's' for single age group input |
The original data_par data.frame with implausible parities set to 0
Moultrie TA, RE Dorrington, AG Hill, K Hill, IM Timæus and B Zaba (eds). 2013. Tools for Demographic Estimation. Paris: International Union for the Scientific Study of Population. demographicestimation.iussp.org
library(DemoToolsData)
### Kenya 1989 data:
prtyImplaus( ages = data.prty_KEN$ages, parity = data.prty_KEN$parity, women = data.prty_KEN$women )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.