make.ss.ng.ria: Make single sample normal-gamma rule in action plot

View source: R/make.ss.ng.ria.r

make.ss.ng.riaR Documentation

Make single sample normal-gamma rule in action plot

Description

Make single sample normal-gamma rule in action plot

Usage

make.ss.ng.ria(
  mu.0.t = 0,
  alpha.0.t = 0.25,
  beta.0.t = 1,
  n.0.t = 1,
  xbar.t = -0.05,
  s.t = 3,
  n.t = 10,
  Delta.lrv = 0,
  Delta.tv = 1,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  tsize = 4,
  nlines = 25,
  nlines.ria = 20,
  add.table = TRUE
)

Arguments

mu.0.t

prior mean

alpha.0.t

prior alpha parameter

beta.0.t

prior beta parameter

n.0.t

prior effective sample size

xbar.t

observed sample mean

s.t

observed sample standard deviation

n.t

sample size

Delta.lrv

TPP Lower Reference Value aka Min TPP

Delta.tv

TPP Target Value aka Base TPP

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

tsize

Control for text size

nlines

Control for text spacing

nlines.ria

Control for text spacing

add.table

provides extended output summaries

Value

A ggplot object is returned

Examples


my.ss.ng.ria <- make.ss.ng.ria(add.table=TRUE)
plot(my.ss.ng.ria[[1]])
my.ss.ng.ria[[2]]
my.ss.ng.ria[[3]]
my.ss.ng.ria[[4]]


GNGTools documentation built on Dec. 16, 2022, 5:09 p.m.