print_balance: Print balance statistics

View source: R/plot_balance.R

print_balanceR Documentation

Description

See balance statisitics of variables between treatment and control groups.

Usage

print_balance(.data, treatment, confounders, estimand = c("ATE", "ATT", "ATC"))

Arguments

.data

dataframe

treatment

the column denoted treatment. Must be binary.

confounders

character list of column names denoting the X columns of interest

estimand

character of either ATE, ATT or ATC the causal estimand you are making inferences about

Value

tibble

Author(s)

George Perrett

Examples

data(lalonde)
print_balance(lalonde, 'treat', confounders = c('re78', 'age', 'educ'), estimand = 'ATE')

priism-center/plotBart documentation built on June 2, 2024, 8:50 a.m.