| dec.table | R Documentation |
Generate a two- or three-stage dose-finding decision table.
dec.table(alpha.l, alpha.r, alpha.u, pt, n, sf.param = 4, pe.par = 0.25, ...)
alpha.l |
Left-side overall type I error. This controls the upper bound for dose escalation. |
alpha.r |
Right-side overall type I error. This controls the lower bound for dose de-escalation. |
alpha.u |
Right-side overall type I error used to determine the lower
bound for |
pt |
A numeric vector of target toxicities. It should have length 1, or length 2 when the target is an interval. |
n |
A vector of sample sizes at each stage. |
sf.param |
A single real value specifying the gamma parameter for the Hwang-Shih-DeCani spending function. The allowable range is [-40, 40]. Larger values spend more error early and leave less for later stages. Defaults to 4. |
pe.par |
Alternative hypothesis offset used to calculate power and the
type II error. The alternative is defined as |
... |
Unused arguments. |
An alpha-spending method is available for two- and three-stage
designs. dec.table uses the Hwang-Shih-DeCani spending function.
An object of class "dec.table", returned as a list
containing:
table |
The generated decision table. |
alpha.two |
A vector of true type I errors for the two-sided test. |
alpha.one |
A vector of true type I errors for the right-sided test. |
beta |
The true type II error, which depends on the alternative hypothesis. |
E |
A vector of |
D |
A vector of |
DU |
A vector of |
pt |
The input target toxicity vector. |
n |
The input stage-wise sample sizes. |
sf.param |
The input alpha-spending parameter. |
Wenchuan Guo <wguo1017@gmail.com>
alpha.l <- 0.6
alpha.r <- 0.4
alpha.u <- 0.1
pt <- 0.3
# Print the decision table for a 3+3+3 design
n <- rep(3, 3)
dec.table(alpha.l, alpha.r, alpha.u, pt, n)$table
# 3+3 design
n <- rep(3, 2)
dec.table(alpha.l, alpha.r, alpha.u, pt, n)$table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.