blt_table | R Documentation |
Bayes (dose)-limiting toxicities table for designing phase I dose- escalation studies.
blt_table(r, n, prior = c(1, 1)/2, alpha = 0.025, cval = 1/3, digits = 2L)
r , n |
number of DLTs observed and total size |
prior |
a vector of length two giving the distribution assumptions
for a beta prior (default is |
alpha |
type-I error probability |
cval |
for specifed proportions of DLTs, the probability that the rate
will be greater than |
digits |
number of digits to print |
A vector of five elements with the total size, number of DLTs, alpha
critical value, 1 - alpha
critical value, and calculated probability
that the DLT rate is greater than cval
.
dlt_table
; pr_table
x <- seq(0.005, 0.995, length.out = 500)
plot(x, dbeta(x, 2, 3), type = 'l')
blt_table(3, 6, alpha = .0125)
t(Vectorize(blt_table)(0:8, 8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.