continue: Should this dose-finding experiment continue?

View source: R/interface.R

continueR Documentation

Should this dose-finding experiment continue?

Description

Should this dose-finding experiment continue? Or have circumstances prevailed that dictate this trial should stop? This method is critical to the automatic calculation of statistical operating characteristics and dose-pathways. You add stopping behaviours to designs using calls like stop_at_n and stop_when_too_toxic.

Usage

continue(x, ...)

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Value

logical

Examples

skeleton <- c(0.05, 0.1, 0.25, 0.4, 0.6)
target <- 0.25
model1 <- get_dfcrm(skeleton = skeleton, target = target)
fit1 <- model1 %>% fit('1NNN 2NTN')
fit1 %>% continue()

model2 <- get_dfcrm(skeleton = skeleton, target = target) %>%
  stop_at_n(n = 6)
fit2 <- model2 %>% fit('1NNN 2NTN')
fit2 %>% continue()

escalation documentation built on May 31, 2023, 6:32 p.m.