The method combining a stopping list and an atomic

Share:

Description

The method combining a stopping list and an atomic

Usage

1
2
## S4 method for signature 'StoppingAll,Stopping'
e1 & e2

Arguments

e1

StoppingAll object

e2

Stopping object

Value

The modified StoppingAll object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Example of combining a list of stopping rules with an atomic stopping rule
## with an AND ('&') operator

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

myStopping3 <- StoppingMinPatients(nPatients=20)

myStopping <- (myStopping1 | myStopping2 ) & myStopping3 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.