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 dose_finding_fit
prob_tox_exceeds(x, threshold, ...)

Arguments

x

an R object of class "dose_finding_fit"

...

arguments passed to other methods

threshold

numeric, threshold value.

Value

numerical vector of probabilities

numerical vector of probabilities

Examples

if (FALSE) { # 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) }