and-Stopping-Stopping-method: The method combining two atomic stopping rules

Description Usage Arguments Value Examples

Description

The method combining two atomic stopping rules

Usage

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

Arguments

e1

First Stopping object

e2

Second Stopping object

Value

The StoppingAll object

Examples

1
2
3
4
5
6
7
## 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 

crmPack documentation built on June 13, 2019, 9:02 a.m.