Skip to contents

Balance Check for observational studies

Usage

balance_table(df, treatvar, bal_vars)

Arguments

df

dataframe to check balance

treatvar

dummy for treatment

bal_vars

covariates to check balance in

Examples

if (FALSE) {
balance_table(mtcars, treatvar = 'vs', bal_vars = c('mpg', 'cyl', 'disp'))
}