
Plot Summary of Simulated vs. Target Statistics for a discourse.object
Source:R/fct_plot_summary.R
plot_summary.Rd
Visualizes discrepancies between simulated and target summary statistics (e.g., means, SDs, F-values, correlations, regression coefficients) for a single `discourse.object`.
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`.
Examples
if (FALSE) { # \dontrun{
res <- optim_aov(...)
plot_summary(res, standardised = FALSE)
} # }