Get a vector of the dose-levels that have been administered to patients.

doses_given(x, ...)

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Value

an integer vector

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 %>% doses_given()
#> [1] 1 1 1 2 2 2