num_doses: Number of doses.

View source: R/interface.R

num_dosesR Documentation

Number of doses.

Description

Get the number of doses under investigation in a dose-finding trial.

Usage

num_doses(x, ...)

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Value

integer

Examples

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

escalation documentation built on June 27, 2024, 5:09 p.m.