Description Usage Arguments Value
View source: R/PlotBalance_function.R
Function that plots the standardized difference of means before and after matching.
1 | PlotBalance(dtaBef, dtaAfter, cols, trt, cutoff = 0.1)
|
dtaBef |
Data frame include the data before matching. |
dtaAfter |
Data frame including only the matched pairs data. Can be set to NULL if we want to plot the standardized difference of means for only one dataset. |
cols |
Column indeces of the variables we want to check. |
trt |
Column index for treatment variable. |
cutoff |
Cutoff for standardized difference. Defaults to 0.1. |
Plot of standardized difference of means before and after matching.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.