Plot count-outcome power results

# 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.