covs should be a reduced datset that contains only those covariates that will be used for calculating Mahalanobis balance, for example, covs = dat[,1:6] trt should be the exposure variable, for example, trt=dat$X
1 | metric_mhb(cov0, cov1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.