MatchIt package implementation for bootstrapping.
boot.matchit(Tr, Y, X, X.trans, formu, ...)a list with three elements:
summarya named numeric vector (with at minimum estimate,
ci.min, and ci.max but other values allowed)
balancea named numeric vector with one element per
covariate listed in X.trans representing a balance statistic
(usually standardized effect size after adjustment)
detailsan arbitrary object that contains the full results of the analysis
vector indicating treatment assignment.
vector of outcome.
matrix or data frame of covariates.
a data frame of X with factors recoded. See cv.trans.psa
the formula to use to estimate propensity scores. Note that the
dependent varaible (i.e. treatment varaible) name will be updated using
the Tr vector.
other parameters passed from PSAboot