maxSize: "MAX" combination of cohort size rules

Description Usage Arguments Value Methods (by class) See Also Examples

Description

This function combines cohort size rules by taking the maximum of all sizes.

Usage

1
2
3
4
maxSize(...)

## S4 method for signature 'CohortSize'
maxSize(...)

Arguments

...

Objects of class CohortSize

Value

the combination as an object of class CohortSizeMax

Methods (by class)

See Also

minSize

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# Here is the rule for: 
#   having cohort of size 1 for doses <30
#   and having cohort of size 3 for doses >=30
mySize1 <- CohortSizeRange(intervals = c(0, 30),
                           cohortSize = c(1, 3))

# Here is the rule for: 
#   having cohort of size 1 until no DLT were observed
#   and having cohort of size 3 as soon as 1 DLT is observed
mySize2 <- CohortSizeDLT(DLTintervals=c(0, 1),
                         cohortSize=c(1, 3))

# This is combining the two rules above by taking the maximum of the sample sizes of
# the single rules
mySize <- maxSize(mySize1, mySize2)

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