Learn R Programming

GNGTools (version 1.0.0)

get.ss.ng.ssize.oc.df: Get single sample normal-gamma sample size Oc curve data.frame

Description

Get single sample normal-gamma sample size Oc curve data.frame

Usage

get.ss.ng.ssize.oc.df(
  mu.0.t = 3,
  n.0.t = 10,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  s.t = 5,
  n.t = 50,
  SS.OC.N.LB = floor(50 * 0.75),
  SS.OC.N.UB = floor(50 * 2),
  npoints = 15,
  Delta.lrv = 2.5,
  Delta.tv = 4,
  Delta.user = 3,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65
)

Value

A data.frame is returned

Arguments

mu.0.t

prior mean for treatment group

n.0.t

prior effective sample size for treatment group

alpha.0.t

prior alpha parameter for treatment group

beta.0.t

prior beta parameter for treatment group

s.t

sample sd for treatment group

n.t

sample size for treatment group

SS.OC.N.LB

lower bound for OC curve

SS.OC.N.UB

upper bound for OC curve

npoints

number of points

Delta.lrv

TPP Lower Reference Value aka Min TPP

Delta.tv

TPP Target Value aka Base TPP

Delta.user

User's value for underlying treatment response

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

Examples

Run this code
# \donttest{
my.ss.ng.ssize.oc.df <- get.ss.ng.ssize.oc.df()
head(my.ss.ng.ssize.oc.df)
# }

Run the code above in your browser using DataLab