plot_association: Plot association matrices of real and synthetic data
Description
Heatmaps of the mixed-type association_matrix() of the real data, the
synthetic data and their difference (synthetic minus real), on a common
diverging scale.
Usage
plot_association(real, synthetic = NULL, vars = NULL, show_values = NULL)
Value
A ggplot object.
Arguments
real
A data frame (or vector/matrix) with the real data.
synthetic
Optional synthetic data with the same columns.
vars
Variables to plot (default: all, up to max_vars per kind).
show_values
Print the values in the cells? (Default: when there
are at most 8 variables.)