Learn R Programming

GNGTools (version 1.0.0)

get.ss.ng.df: Get single sample normal-gamma data.frame with decision output

Description

Get single sample normal-gamma data.frame with decision output

Usage

get.ss.ng.df(
  mu.0.t = 0,
  n.0.t = 10,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  xbar.t = seq(-1, 5, 0.1),
  s.t = seq(1, 6, 0.1),
  n.t = 50,
  Delta.tv = 1.75,
  Delta.lrv = 1.5,
  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

xbar.t

sample mean for treatment group

s.t

sample sd for treatment group

n.t

sample size for treatment group

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

Examples

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

Run the code above in your browser using DataLab