CohortSizeRange-class | R Documentation |
CohortSizeRange
CohortSizeRange
is the class for cohort size based on dose range.
CohortSizeRange(intervals, cohort_size)
.DefaultCohortSizeRange()
intervals |
( |
cohort_size |
( |
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
.
Typically, end users will not use the .DefaultCohortSizeRange()
function.
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.