or-StoppingAny-Stopping: The method combining an atomic and a stopping list

Description Usage Arguments Value Examples

Description

The method combining an atomic and a stopping list

Usage

1
2
## S4 method for signature 'Stopping,StoppingAny'
e1 | e2

Arguments

e1

Stopping object

e2

StoppingAny object

Value

The modified StoppingAny object

Examples

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

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

myStopping3 <- StoppingMinPatients(nPatients=20)

myStopping <-  myStopping3 | (myStopping1 & myStopping2 ) 

0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.