make.ts.bin.ria: Make two-sample binary rule in action plot

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

make.ts.bin.riaR Documentation

Make two-sample binary rule in action plot

Description

Make two-sample binary rule in action plot

Usage

make.ts.bin.ria(
  a.con = 1,
  b.con = 1,
  n.con = 40,
  x.con = 9,
  a.trt = 1,
  b.trt = 1,
  n.trt = 40,
  x.trt = 17,
  Delta.lrv = 0.15,
  Delta.tv = 0.3,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  nlines.ria = 20,
  tsize = 4,
  nlines = 25,
  add.table = TRUE
)

Arguments

a.con

prior alpha parameter for control group

b.con

prior beta parameter for control group

n.con

sample size for control group

x.con

number of responders for control group

a.trt

prior alpha parameter for treatment group

b.trt

prior beta parameter for treatment group

n.trt

sample size for control treatment group

x.trt

number of responders for treatment group

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

nlines.ria

Control for text spacing

tsize

Control for text size

nlines

Control for text spacing

add.table

provides extended output summaries

Value

a ggplot object is returned

Examples

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

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