plot_decision_heatmap: Plot simulated decision heatmaps

View source: R/diagnostic_plots.R

plot_decision_heatmapR Documentation

Plot simulated decision heatmaps

Description

Shows the equivalence decision (pass or fail) for every endpoint and comparator in every simulated trial. Each tile is one binary decision; green means that the criterion passed and orange means that it failed. The Total row is the combined decision for the comparator, and an ⁠All comparators⁠ panel, when present, shows the overall decision. This makes isolated failures, unstable endpoints, and systematic comparator differences easy to identify.

Usage

plot_decision_heatmap(x, display = "all", ...)

Arguments

x

A simss, simpower, or simpower_curve object.

display

Comparator names to display, or "all".

...

Unused additional arguments.

Details

The x-axis is the simulation-trial number and has no scientific meaning beyond showing the sequence of simulated datasets. Endpoint rows show individual decisions; Total shows the combined endpoint decision according to k and the specified decision rule. The heatmap is a diagnostic of trial-level decisions, not a replacement for the numerical power estimate.

Value

A ggplot object.


SimTOST documentation built on Oct. 9, 2026, 5:07 p.m.