estimate_power_curve: Calculate a power curve for sample size or mdes.

View source: R/optimize_power.R

estimate_power_curveR Documentation

Calculate a power curve for sample size or mdes.

Description

For a grid of points based on a passed sample or mdes pumpresult, estimate power.

Usage

estimate_power_curve(
  p,
  low = NULL,
  high = NULL,
  high.max = 1000,
  grid.size = 5,
  tnum = 2000
)

Arguments

p

pumpresult object

low

Low end of grid

high

High end of grid

high.max

If no high provided, maximum possible high

grid.size

Number of points in grid

tnum

the number of test statistics (samples)

Value

List of powers for grid of points.


MDRCNY/PUMP documentation built on Feb. 26, 2025, 11:22 a.m.