Description Usage Arguments Examples
View source: R/childhoodmortality.R
calculates childhood mortality & SE's
1 2 | childhoodmortality(data, grouping = "sample", rate_type = "underfive",
period = 5)
|
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). |
period |
This numeric value gives the period in years for which the mortality rate will be calculated (default 5 years). |
1 2 3 4 5 | data("model_ipums_dhs_dataset")
underfive_mortality_rates <- childhoodmortality(
model_ipums_dhs_dataset,
grouping ="wealthq"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.