examples/Rules-method-and-stopping-stopping.R

## Example of combining two atomic stopping rules with an AND ('&') operator

myStopping1 <- StoppingMinCohorts(nCohorts=3)
myStopping2 <- StoppingTargetProb(target=c(0.2, 0.35),
                                  prob=0.5)

myStopping <- myStopping1 & myStopping2 
Roche/crmPack documentation built on June 30, 2024, 1:31 a.m.