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
plotCovariateBalanceScatterPlot( balance, absolute = TRUE, threshold = 0, title = "Standardized difference of mean", fileName = NULL, beforeLabel = "Before matching", afterLabel = "After matching", showCovariateCountLabel = FALSE, showMaxLabel = FALSE )
A data frame created by the
Should the absolute value of the difference be used?
Show a threshold value for after matching standardized difference.
The main title for the plot.
Name of the file where the plot should be saved, for example 'plot.png'. See the
ggsave in the ggplot2 package for supported file formats.
Label for the x-axis.
Label for the y-axis.
Show a label with the number of covariates included in the plot?
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.