Skip to contents

Thin wrapper around morie_matching_balance returning only the data-frame component. See cobalt::bal.tab for an alternative with categorical-variable support.

Usage

morie_matching_balance_table(data, treatment, covariates, weights = NULL)

Arguments

data

Data frame.

treatment

Binary treatment column name.

covariates

Character vector of covariates.

weights

Optional column name of matching / weighting weights.

Value

A data frame.

Examples

if (FALSE) { # \dontrun{
morie_matching_balance_table(df, "d", c("x1", "x2"))
} # }