Learn R Programming

crmPack (version 1.0.6)

CohortSizeDLT-class: Cohort size based on number of DLTs

Description

Cohort size based on number of DLTs

Arguments

Slots

DLTintervals

an integer vector with the left bounds of the relevant DLT intervals

cohortSize

an integer vector of the same length with the cohort sizes in the DLTintervals

Examples

Run this code

# As example, 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

mySize <- CohortSizeDLT(DLTintervals = c(0, 1),
                        cohortSize = c(1, 3))

Run the code above in your browser using DataLab