blt_table: BLT table

View source: R/tables.R

blt_tableR Documentation

BLT table

Description

Bayes (dose)-limiting toxicities table for designing phase I dose- escalation studies.

Usage

blt_table(r, n, prior = c(1, 1)/2, alpha = 0.025, cval = 1/3, digits = 2L)

Arguments

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 beta(0.5, 0.5))

alpha

type-I error probability

cval

for specifed proportions of DLTs, the probability that the rate will be greater than cval is computed

digits

number of digits to print

Value

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.

See Also

dlt_table; pr_table

Examples

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))


raredd/desmon2 documentation built on Feb. 9, 2023, 12:09 p.m.