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

View source: R/expand_last_dose_to_cohort.R

expand_last_dose_to_cohortR Documentation

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)

Arguments

parent_selector_factory

Object of type selector_factory.

n

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

Value

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

Examples

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.

brockk/dosefinding documentation built on April 5, 2025, 5:53 p.m.