View source: R/prob_tox_exceeds.R
prob_tox_exceeds | R Documentation |
Calculate the probability that the rate of toxicity exceeds some threshold
Calculate the probability that the rate of toxicity exceeds some threshold
prob_tox_exceeds(x, ...)
## S3 method for class 'dose_finding_fit'
prob_tox_exceeds(x, threshold, ...)
x |
an R object of class |
... |
arguments passed to other methods |
threshold |
numeric, threshold value. |
numerical vector of probabilities
numerical vector of probabilities
## Not run:
# CRM example
target <- 0.2
fit <- stan_crm('1N 2N 3T', skeleton = c(0.1, 0.2, 0.35, 0.6),
target = target, model = 'empiric', beta_sd = sqrt(1.34),
seed = 123)
prob_tox_exceeds(fit, target)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.