Skip to contents

Visualizes discrepancies between simulated and target summary statistics (e.g., means, SDs, F-values, correlations, regression coefficients) for a single `discourse.object`.

Usage

plot_summary(discourse_obj, standardised = TRUE, eps = 1e-12)

Arguments

discourse_obj

A `discourse.object` produced by `optim_*` functions, containing both simulated data/results and `inputs$target_*` values.

standardised

Logical; if `TRUE`, differences are divided by target values (except when targets are near zero); default `TRUE`.

eps

Numeric; threshold below which a target is treated as zero for standardization; default `1e-12`.

Value

A `ggplot2` object.

Examples

 if (FALSE) { # \dontrun{
res <- optim_aov(...)
plot_summary(res, standardised = FALSE)
} # }