Description Usage Arguments Details Value Examples
Computes the type I error rate of designs with blinded sample size recalculation or of fixed designs for one or several values of the nuisance parameter.
1 2 3 4 5 6 7 8 9 
design 
Object of class 
n1 
Either the sample size of the first stage (if

nuisance 
Value of the nuisance parameter in (0,1). For the ChiSquared test this is the overall response rate. 
recalculation 
Should the sample size be recalculated after n1 n1 patients are recruited? 
allocation 
Whether the allocation ratio should be preserved
exactly ( 
... 
Further optional arguments. 
The method is only vectorized in either nuisance
or n1
.
One type I error rate value for every nuisance parameter and every value of n1.
1 2  d < setupChiSquare(alpha = 0.025, beta = 0.2, r = 1, delta = 0.2)
toer(d, n1 = c(10, 20), nuisance = 0.25, recalculation = TRUE)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.