View source: R/interim.calculator.r
interim.calculator | R Documentation |
interim.calculator
interim.calculator( a.trt = 1, b.trt = 1, Delta.lrv = 0.3, Delta.tv = 0.45, tau.tv = 0.1, tau.lrv = 0.8, tau.ng = 0.65, interim.n.t = 15, final.n.t = 100, p.success = 0.4, responses = 10, x_ng = NULL, x_go = NULL, go.thresh = 0.8, ng.thresh = 0.8 )
a.trt |
alpha parameter |
b.trt |
beta parameter |
Delta.lrv |
TPP info |
Delta.tv |
TPP info |
tau.tv |
thresholds |
tau.lrv |
info |
tau.ng |
info |
interim.n.t |
interim sample size |
final.n.t |
final sample size |
p.success |
probability of success |
responses |
number of responders |
x_ng |
number needed for no-go |
x_go |
number needed for go |
go.thresh |
go threshold |
ng.thresh |
no-go threshold |
a data.frame is returned
interim.calculator(a.trt = 1, b.trt = 1,Delta.lrv = .3, Delta.tv = .45,tau.tv = 0.10, tau.lrv = .80, tau.ng = .65,interim.n.t = 15,final.n.t = 100, p.success = .4, responses=10,x_ng = NULL, x_go=NULL,go.thresh=0.8, ng.thresh=0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.