powered by
CohortSizeRange
CohortSizeRange is the class for cohort size based on dose range.
CohortSizeRange(intervals, cohort_size).DefaultCohortSizeRange()
.DefaultCohortSizeRange()
(numeric) see slot definition.
numeric
intervals
(numeric) a vector with the left bounds of the relevant dose intervals.
cohort_size
(integer) an integer vector with the cohort sizes corresponding to the elements of intervals.
integer
# Example for the rule having cohort of size 1 for doses <30 # and having cohort of size 3 for doses >=30. my_size <- CohortSizeRange(intervals = c(0, 30), cohort_size = c(1, 3))
Run the code above in your browser using DataLab