Description Usage Arguments Value
Create a scatterplot of the covariate balance, showing all variables with balance before and after
matching on the x and y axis respectively. Requires running computeCovariateBalance
first.
1 2 3 4 5 6 7 8 9 10 11 |
balance |
A data frame created by the |
absolute |
Should the absolute value of the difference be used? |
threshold |
Show a threshold value for after matching standardized difference. |
title |
The main title for the plot. |
fileName |
Name of the file where the plot should be saved, for example 'plot.png'. See the
function |
beforeLabel |
Label for the x-axis. |
afterLabel |
Label for the y-axis. |
showCovariateCountLabel |
Show a label with the number of covariates included in the plot? |
showMaxLabel |
Show a label with the maximum absolute standardized difference after matching/stratification? |
A ggplot object. Use the ggplot2::ggsave function to save to file in a different format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.