View source: R/chs_by_age_sex.R
chs_by_age_sex | R Documentation |
chs_by_age_sex function will calculate stratified rate of health indicators.
chs_by_age_sex( data_set, de_var = "ph_a0500", var_name, cluster = "JIJUM_CD", by_var = c("sex", "age_10"), strata = c("BOGUN_CD", "dong_type", "house_type"), weight = "wt", digits = 1 )
data_set |
data set. |
de_var |
target(dependent) variable. |
var_name |
indicator name. |
cluster |
cluster. |
by_var |
strata variable. |
strata |
strata. |
weight |
weight. |
digits |
integer indicating the number of decimal places.#' |
stratifed rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.