View source: R/get.ss.ng.trt.oc.df.r
| get.ss.ng.trt.oc.df | R Documentation | 
Get single sample normal-gamma treament OC data.frame
get.ss.ng.trt.oc.df( mu.0.t = 0, n.0.t = 10, alpha.0.t = 0.25, beta.0.t = 1, s.t = 2, n.t = 40, from.here = 0, to.here = 4, length.out = 1000, Delta.tv = 1.75, Delta.lrv = 1, tau.tv = 0.1, tau.lrv = 0.8, tau.ng = 0.65 )
| mu.0.t | prior mean | 
| n.0.t | prior effective sample size | 
| alpha.0.t | prior alpha parameter | 
| beta.0.t | prior beta parameter | 
| s.t | sample sd for treatment group | 
| n.t | sample size for treatment group | 
| from.here | treatment effect lower bound | 
| to.here | treatment effect upper bound | 
| length.out | number of points used to span (from.here, to.here) | 
| 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 | 
Returns a data.frame ready to create a treatment effect OC curve
Greg Cicconetti
my.ss.ng.trt.oc.df <- get.ss.ng.trt.oc.df() head(my.ss.ng.trt.oc.df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.