View source: R/balance.matching.R
balance.matching | R Documentation |
This function is function is primarily used by [PSAboot::balance()] and probably does not need to be called directly.
balance.matching(index.treated, index.control, covs)
index.treated |
a vector with the index of treated rows in |
index.control |
a vector with the index of control rows in |
covs |
data frame or matrix of covariates. Factors should already be recoded.
See |
a named vector with one element per covariate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.