and-Stopping-Stopping-method: Combine Two Stopping Rules with AND

&,Stopping,Stopping-methodR Documentation

Combine Two Stopping Rules with AND

Description

[Stable]

The method combining two atomic stopping rules.

Usage

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

Arguments

e1

(Stopping)
first stopping rule object.

e2

(Stopping)
second stopping rule object.

Value

The StoppingAll object.

Examples

## 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 Nov. 29, 2025, 5:07 p.m.