compute_balance: Covariate Balance

Description Usage Arguments

View source: R/evaluate.R

Description

gives covariate balance summary

Usage

1
2
3
4
5
6
7
8
compute_balance(
  data,
  col_name = "balance",
  treatment,
  trt_indicator = 1,
  outcome,
  exclude = NULL
)

Arguments

data

data

col_name

column name of standardized difference means between treatment and control groups. By default, "balance"

treatment

column name of treatment

trt_indicator

value that indicates the unit is treated, e.g. 1 or TRUE

outcome

outcome variable included in the data. It should be specified because it is not covariate.

exclude

Additional columns to exlude


ygeunkim/propensityml documentation built on Jan. 1, 2021, 1:44 p.m.