Learn R Programming

trialr (version 0.1.6)

prob_tox_exceeds: Calculate the probability that the rate of toxicity exceeds some threshold

Description

Calculate the probability that the rate of toxicity exceeds some threshold

Calculate the probability that the rate of toxicity exceeds some threshold

Usage

prob_tox_exceeds(x, ...)

# S3 method for dose_finding_fit prob_tox_exceeds(x, threshold, ...)

Value

numerical vector of probabilities

numerical vector of probabilities

Arguments

x

an R object of class "dose_finding_fit"

...

arguments passed to other methods

threshold

numeric, threshold value.

Examples

Run this code
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)
}

Run the code above in your browser using DataLab