chs_c_rate: Calculating crude rate.

View source: R/chs_result_function.R

chs_c_rateR Documentation

Calculating crude rate.

Description

chs_c_rate function will calculate crude rate of health indicators.

Usage

chs_c_rate(
  data,
  by_var = "sex",
  de_var = "sm_a0100",
  cluster = "JIJUM_CD",
  strata = c("BOGUN_CD", "dong_type", "house_type"),
  index_subset = NULL,
  josa_year,
  index_year = 2011:2018,
  var_cat = 1,
  weight = "wt",
  digits = 1
)

Arguments

data

data set.

by_var

strata variable.

de_var

target(dependent) variable.

cluster

cluster.

strata

strate.

index_subset

denominator condition by health indicators.

josa_year

the year of data.

index_year

the years in which the target variable was investigated.

weight

weight.

digits

integer indicating the number of decimal places.#'

Value

crude rate of health indicators


Sanggeun/chs documentation built on Jan. 7, 2023, 7:46 a.m.