This is used to see how power changes as a function of sample size or MDES. It takes a fit pumpresult and calculates a power curve based on that scenario coupled with a passed range of values to make the curve over.
power_curve(
x,
all = FALSE,
low = NULL,
high = NULL,
grid.size = 5,
tnum = 2000
)
data.frame of power results.
a pumpresult object.
logical; if TRUE, merge in the search path from the original search.
scalar; low range for curve.
scalar; high range for the curve.
scalar; number of points to calculate power for.
scalar; number of iterations to calculate power at each grid point.