plot.countss.RdPlot count-outcome sample-size results
# S3 method for class 'countss'
plot(x, target_power = 0.8, display = "all", all = TRUE, endpoint = NULL, ...)An object returned by sampleSize(). Count-specific dispatch is
retained through the secondary compatibility class.
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 and, for joint count
analyses, the all-comparisons panel.
Logical. If TRUE (the default), display only the aggregate
All comparators result without a comparator facet. If FALSE, display
the 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 the simulated power curve over the
evaluated candidate sample sizes, with the selected sample size highlighted.
Confidence intervals are shown as clearly visible vertical lines through
each point.
If an older countss object has no search history, the plot falls back to
the selected-sample-size point.