CohortSizeDLT-class | R Documentation |
CohortSizeDLT
CohortSizeDLT
is the class for cohort size based on number of DLTs.
CohortSizeDLT(intervals, cohort_size)
.DefaultCohortSizeDLT()
intervals |
( |
cohort_size |
( |
intervals
(integer
)
a vector with the left bounds of the
relevant DLT intervals.
cohort_size
(integer
)
a vector with the cohort sizes corresponding
to the elements of intervals
.
Typically, end users will not use the .DefaultCohortSizeDLT()
function.
# Rule for having cohort of size 1 until no DLT is observed and having cohort
# of size 3 as soon as 1 DLT is observed.
my_size <- CohortSizeDLT(intervals = c(0, 1), cohort_size = c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.