Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CohortSizeMax-class

Size based on maximum of multiple cohort size rules


Description

This class can be used to combine multiple cohort size rules with the MAX operation.

Details

cohortSizeList contains all cohort size rules, which are again objects of class CohortSize. The maximum of these individual cohort sizes is taken to give the final cohort size.

Slots

cohortSizeList

list of cohort size rules

Examples

# Rule for having cohort of size 1 for doses <30
#      and having cohort of size 3 for doses >=30
mySize1 <- CohortSizeRange(intervals = c(0, 10),
                           cohortSize = c(1, 3))

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

# Create a list of cohort size rules of class 'CohortSizeMax' which will then be 
# combined with the 'max' operation
mySize <- CohortSizeMax(cohortSizeList=list(mySize1, 
                                            mySize2))

crmPack

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.