plot.simpower_curve.RdPlot fixed-sample-size power results
# S3 method for class 'simpower_curve'
plot(x, target_power = 0.8, display = "all", all = TRUE, endpoint = NULL, ...)An object returned by simPower().
Target power shown as a horizontal reference line. The default is 0.80, unless the object stores a planning target, in which case that target is used when this argument is omitted. An explicit value always overrides the stored target.
Character vector of comparator panels to display. Use
"all" (the default) to display every comparator, or provide comparator
names such as "R_vs_T" to display selected panels.
Logical. If TRUE (the default), display only the aggregate
All comparators result without a comparator facet. If FALSE, display
the current comparator panels selected by display.
Endpoint names to display. By default, "Total" is used
when all = TRUE, while all retained endpoints are used when all = FALSE.
Use "all" to show all retained endpoints explicitly.
Unused additional arguments.
A ggplot object showing estimated power and its Monte Carlo
confidence interval as a clearly visible vertical line.