mtd_text | R Documentation |
Output standard 3+3 maximum tolerated dose design text.
mtd_text(prob = 1:5/10, ndose = 3L, expansion = 10L, digits = 2L, conf = 0.95)
prob |
a vector of toxicity event rates |
ndose |
number of dose levels |
expansion |
size of the expansion cohort |
digits |
number of digits past the decimal point to keep |
conf |
confidence level for confidence intervals |
A character string describing the design with attr(, "table")
containing the DLT table in markdown format.
dlt_table
; sim3p3
Other designs:
b2p_text()
,
bin1samp_text()
,
simon_text()
,
twostg_text()
## basic usage
mtd_text()
cat(mtd_text(1:10 / 20, 5, 15))
## Not run:
cat(mtd_text(), file = '~/mtd_design.txt')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.