prob_tox_quantile | R Documentation |
Get the estimated quantile of the toxicity rate at each dose under investigation. This is a set of modelled statistics. The underlying models estimate toxicity probabilities in different ways. If no model-based estimate of the median is available, this function will return a vector of NAs.
prob_tox_quantile(x, p, ...)
x |
Object of class |
p |
quantile probability, decimal value between 0 and 1 |
... |
arguments passed to other methods |
a numerical vector
# CRM example
skeleton <- c(0.05, 0.1, 0.25, 0.4, 0.6)
target <- 0.25
outcomes <- '1NNN 2NTN'
fit <- get_dfcrm(skeleton = skeleton, target = target) %>% fit(outcomes)
fit %>% prob_tox_quantile(p = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.