Nothing
#' @export
covimbal <-
function(y,xmatc) {
# evaluate covariate imbalance by seeing how well we can predict treatment using linear regression with covariates
summary(lm(2*y -1 ~ cbind(rep(1,nrow(xmatc)),xmatc) - 1))$r.squared
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.