View source: R/diagnostic_plots.R
| plot_stability | R Documentation |
Displays cumulative achieved power over simulated trials. A stable curve approaches a horizontal plateau, while large late movements indicate that more simulations may be needed.
plot_stability(
x,
target_power = 0.8,
display = "all",
overall = FALSE,
endpoint = "Total",
...
)
x |
A |
target_power |
Target power shown as a horizontal reference line. |
display |
Comparator names to display, or |
overall |
Logical. If |
endpoint |
Endpoint names to display. The default, |
... |
Unused additional arguments. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.