Learn R Programming

GNGTools (version 1.0.0)

make.ss.bin.ria: 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
)

Value

A ggplot object is returned

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

Examples

Run this code
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]]

Run the code above in your browser using DataLab