or-Stopping-StoppingAny: Combine an Atomic Stopping Rule and a Stopping List with OR

or-Stopping-StoppingAnyR Documentation

Combine an Atomic Stopping Rule and a Stopping List with OR

Description

[Stable]

The method combining an atomic stopping rule and a stopping list.

Usage

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

Arguments

e1

(Stopping)
stopping rule object.

e2

(StoppingAny)
stopping list object.

Value

The modified StoppingAny object.

Examples

## 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)

crmPack documentation built on Nov. 29, 2025, 5:07 p.m.