Thin wrapper around MatchIt::matchit(method = "optimal"), which
calls optmatch.
Usage
morie_matching_optimal_pair(
data,
treatment,
covariates,
distance = "propensity",
ps = NULL
)Examples
if (FALSE) { # \dontrun{
morie_matching_optimal_pair(df, "d", c("x1", "x2"))
} # }