make.ss.bin.ria: Make single sample binary rule in action plot

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

make.ss.bin.riaR Documentation

Make single sample binary rule in action plot

Description

Make single sample binary rule in action plot

Usage

make.ss.bin.ria(
  a.trt = 1,
  b.trt = 1,
  n.trt = 40,
  x.trt = 9,
  Delta.lrv = 0.2,
  Delta.tv = 0.35,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  seed = 1234,
  nlines = 25,
  tsize = 4,
  nlines.ria = 20,
  add.table = TRUE
)

Arguments

a.trt

prior alpha parameter

b.trt

prior beta parameter

n.trt

observed sample size

x.trt

observed number of responders

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

seed

random seed

nlines

Control for text spacing

tsize

Control for text size

nlines.ria

number of lines

add.table

provides extended output summaries

Value

A ggplot object is returned

Examples

my.ss.bin.ria <- make.ss.bin.ria(x.trt=10, add.table=TRUE)
plot(my.ss.bin.ria[[1]])
my.ss.bin.ria[[2]]
my.ss.bin.ria[[3]]
my.ss.bin.ria[[4]]

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