Estimate covariate effect sizes before and after propensity score adjustment.
1 | covariate.balance(covariates, treatment, level2, strata, abs = TRUE)
|
covariates |
frame or matrix of covariates. |
treatment |
vector of treatment indicators. |
level2 |
vector indicating level 2 membership. |
strata |
strata indicators. |
abs |
if TRUE absolute values of effect sizes will be plotted. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.