childhoodmortality: Calculates childhood mortality

Description Usage Arguments Examples

Description

calculates childhood mortality & SE's

Usage

1
childhoodmortality(data, grouping = "year", rate_type = "underfive")

Arguments

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)

Examples

1
2
3
4
5
6
data("model_ipums_dhs_dataset")
underfive_mortality_rates <- childhoodmortality(
 model_ipums_dhs_dataset,
 grouping ="wealthq",
 rate_type = "underfive"
)

childhoodmortality documentation built on May 2, 2019, 8:53 a.m.