Description Usage Arguments Examples
calculates childhood mortality & SE's
1 | childhoodmortality(data, grouping = "year", rate_type = "underfive")
|
data |
dataframe object containing DHS variables YEAR, PSU, PERWEIGHT, KIDDOBCMC, INTDATECMC, KIDAGEDIEDIMP, and grouping var. |
grouping |
This character string gives the variable name of the variable denoting groups. |
rate_type |
This character string gives the type of mortality rate to be calculated (neonatal, postneonatal, infant, child, under-five) |
1 2 3 4 5 6 | data("model_ipums_dhs_dataset")
underfive_mortality_rates <- childhoodmortality(
model_ipums_dhs_dataset,
grouping ="wealthq",
rate_type = "underfive"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.