View source: R/make.ss.bin.ria.r
make.ss.bin.ria | R Documentation |
Make single sample binary rule in action plot
make.ss.bin.ria( a.trt = 1, b.trt = 1, n.trt = 40, x.trt = 9, Delta.lrv = 0.2, Delta.tv = 0.35, tau.tv = 0.1, tau.lrv = 0.8, tau.ng = 0.65, seed = 1234, nlines = 25, tsize = 4, nlines.ria = 20, add.table = TRUE )
a.trt |
prior alpha parameter |
b.trt |
prior beta parameter |
n.trt |
observed sample size |
x.trt |
observed number of responders |
Delta.lrv |
TPP Lower Reference Value aka Min TPP |
Delta.tv |
TPP Target Value aka Base TPP |
tau.tv |
threshold associated with Base TPP |
tau.lrv |
threshold associated with Min TPP |
tau.ng |
threshold associated with No-Go |
seed |
random seed |
nlines |
Control for text spacing |
tsize |
Control for text size |
nlines.ria |
number of lines |
add.table |
provides extended output summaries |
A ggplot object is returned
my.ss.bin.ria <- make.ss.bin.ria(x.trt=10, add.table=TRUE) plot(my.ss.bin.ria[[1]]) my.ss.bin.ria[[2]] my.ss.bin.ria[[3]] my.ss.bin.ria[[4]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.