findPowerR: Get power from brkTest
).
Description
Power under an alternative F1 and F2 relationship, represented by a F2=g(F1).
Usage
findPowerR(R, g, psearch = (0:1000)/1000)
Arguments
- R
matrix of rejection region, if x is the output from brk.test
, then R=x$FullResults$R
- g
function under which to calculate the power, F2=g(F1).
- psearch
vector of values over which to calculate the power