View source: R/expand_last_dose_to_cohort.R
expand_last_dose_to_cohort | R Documentation |
Expand the cohort of the last given dose to at least n patients
expand_last_dose_to_cohort(parent_selector_factory, n)
parent_selector_factory |
Object of type |
n |
Continue at current dose until at least n patients are evaluated. |
an object of type selector_factory
that can fit a
dose-finding model to outcomes.
model <- follow_path(path = "1N 2N 3N") %>%
expand_last_dose_to_cohort(n = 3)
x <- model %>% fit("1N 2N 3T")
# Design will continue:
continue(x)
# at dose 3:
recommended_dose(x)
# because it is expanding the last dose to a cohort of three.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.