Learn R Programming

escalation (version 0.2.3)

expand_last_dose_to_cohort: Expand the cohort of the last given dose to at least n patients

Description

Expand the cohort of the last given dose to at least n patients

Usage

expand_last_dose_to_cohort(parent_selector_factory, n)

Value

an object of type selector_factory that can fit a dose-finding model to outcomes.

Arguments

parent_selector_factory

Object of type selector_factory.

n

Continue at current dose until at least n patients are evaluated.

Examples

Run this code
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.

Run the code above in your browser using DataLab