Methods defined for objects returned from the powerCurve function.
Usage
find_n(x, power = 0.8)
# S3 method for class 'powerCurve'
plot(x, ...)Arguments
- x
object of class
powerCurve- power
Level of power (value between 0 and 1) for find_n to find the sample size.
- ...
further arguments passed through, see description of return value for details.
blandPowerCurve.
Value
plotReturns a plot of the limits of agreement (type = 1) or concordance plot (type = 2)
find_nA data frame with, for each combination of settings, the smallest sample size evaluated at which the desired power is achieved (
N) and the power at that sample size.NisNA, with a warning, when the power is not reached at the largest sample size evaluated (poweris then the highest power evaluated), or when the valid sample size immediately below the smallest evaluated size also reaches the target (poweris then alsoNA). With gaps between the sample sizes,Ncan be larger than the exact minimum. Usepower_agreement_limit()(withsigmain place ofSD) to find the exact sample size directly.
