Skip to contents

Thin wrapper around MatchIt::matchit(method = "full"), which calls optmatch.

Usage

morie_matching_full(data, treatment, covariates, ps = NULL, n_subclasses = 10L)

Arguments

data

Data frame.

treatment

Binary treatment column name.

covariates

Character vector of covariates.

ps

Optional pre-computed propensity scores (ignored; retained for back-compat).

n_subclasses

Carried for back-compat (ignored under MatchIt).

Value

A list of class morie_match_result.

References

Hansen, B. B. (2004). Full matching in an observational study of coaching for the SAT. JASA, 99(467), 609–618.

Examples

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