R/interface.R
num_tox.Rd
Get the number of toxicities seen in a dose-finding trial.
num_tox(x, ...)
Object of type selector.
selector
Extra args are passed onwards.
integer
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_tox() #> [1] 1