plot_qq: Quantile-quantile plots of synthetic against real data
Description
For each numeric variable, quantiles of the synthetic data are plotted
against those of the real data; points on the diagonal indicate matching
distributions.
Usage
plot_qq(
real,
synthetic,
vars = NULL,
max_vars = 12L,
probs = seq(0.01, 0.99, by = 0.01)
)
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).
max_vars
Maximum number of variables of each kind shown by default.