print_covariance: Print covariance statistics

View source: R/plot_balance.R

print_covarianceR Documentation

Description

See balance statistics of covariance for specified variables between treatment and control groups.

Usage

print_covariance(
  .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_covariance(lalonde, 'treat', confounders = c('re78', 'age', 'educ'), estimand = 'ATE')

joemarlo/plotBart documentation built on May 31, 2024, 12:22 p.m.