View source: R/get.ss.bin.trt.int.oc.df.r
get.ss.bin.trt.int.oc.df | R Documentation |
Get single sample binary interim treatment OC data.frame
get.ss.bin.trt.int.oc.df( a.trt = 1, b.trt = 1, Delta.tv = 0.35, Delta.lrv = 0.2, tau.tv = 0.1, tau.lrv = 0.8, tau.ng = 0.65, interim.n.t = c(10), final.n.t = 100, x.ng = NULL, x.go = NULL, go.thresh = 0.8, ng.thresh = 0.8 )
a.trt |
prior alpha parameter |
b.trt |
prior beta parameter |
Delta.tv |
TPP Target Value aka Base TPP |
Delta.lrv |
TPP Lower Reference Value aka Min TPP |
tau.tv |
threshold associated with Base TPP |
tau.lrv |
threshold associated with Min TPP |
tau.ng |
threshold associated with No-Go |
interim.n.t |
number of trials at interim |
final.n.t |
number of trials at final |
x.ng |
responses needed for no-go; leave null for standard rule |
x.go |
responses needed for go; leave null for standard rule |
go.thresh |
go threshold for predictive probability |
ng.thresh |
no-go threshold for predictive probability |
A data.frame is returned
my.ss.bin.trt.int.oc.df <- get.ss.bin.trt.int.oc.df() my.ss.bin.trt.int.oc.df[[1]] my.ss.bin.trt.int.oc.df[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.