.get_smd.med | R Documentation |
Internal functions called by .plot_balance.
functions to compute (standardized) mean differences to be plotted.
.get_smd.med(w.dat, c.vars, m.vars, c.std, m.std)
.get_smd.ipw(w.dat, vars, standardize)
.get_smd.odds(w.dat, vars, standardize)
.get_smd.psYpred(w.dat, c.vars, c.std)
w.dat |
Dataset for pseudo samples, already cleaned and dummy coded. |
c.vars |
Names of covariates, checked and dummied. |
m.vars |
Names of mediators, checked and dummied. |
c.std |
Covariates to be standardized, already checked. |
m.std |
Mediators to be standardized, already checked. |
cm.vars |
Names of covariates and mediators, checked and dummied. |
cm.vars.std |
Covariates and mediators to be standardized, already checked. |
A data frame containing the (standardized) mean differences.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.