plot.countpower: Plot count-outcome power results

View source: R/simpower_methods.R

plot.countpowerR Documentation

Plot count-outcome power results

Description

Plot count-outcome power results

Usage

## S3 method for class 'countpower'
plot(x, target_power = 0.8, ...)

Arguments

x

An object returned by simPower().

target_power

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.

...

Unused additional arguments.

Value

A ggplot object showing estimated power and its Monte Carlo confidence interval. The interval is shown as a clearly visible vertical line through each point.


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