Get the number of toxicities seen at each dose under investigation.

eff_at_dose(x, ...)

Arguments

x

Object of class selector

...

arguments passed to other methods

Value

an integer vector

Examples

prob_select = c(0.1, 0.3, 0.5, 0.07, 0.03)
model <- get_random_selector(prob_select = prob_select,
                             supports_efficacy = TRUE)
x <- model %>% fit('1NTN 2EN 5BB')
eff_at_dose(x)
#> [1] 0 1 0 0 2