Learn R Programming

crmPack (version 1.0.6)

CohortSizeRange-class: Cohort size based on dose range

Description

Cohort size based on dose range

Arguments

Slots

intervals

a vector with the left bounds of the relevant dose intervals

cohortSize

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

Examples

Run this code

# As example, here is the rule for: 
#   having cohort of size 1 for doses <30
#   and having cohort of size 3 for doses >=30

mySize <- CohortSizeRange(intervals=c(0, 30),
                          cohortSize=c(1, 3))

Run the code above in your browser using DataLab