Learn R Programming

GNGTools (version 1.0.0)

get.ss.bin.trt.int.oc.df: Get single sample binary interim treatment OC data.frame

Description

Get single sample binary interim treatment OC data.frame

Usage

get.ss.bin.trt.int.oc.df(
  a.trt = 1,
  b.trt = 1,
  Delta.tv = 0.35,
  Delta.lrv = 0.2,
  tau.tv = 0.1,
  tau.lrv = 0.8,
  tau.ng = 0.65,
  interim.n.t = c(10),
  final.n.t = 100,
  x.ng = NULL,
  x.go = NULL,
  go.thresh = 0.8,
  ng.thresh = 0.8
)

Value

A data.frame is returned

Arguments

a.trt

prior alpha parameter

b.trt

prior beta parameter

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

interim.n.t

number of trials at interim

final.n.t

number of trials at final

x.ng

responses needed for no-go; leave null for standard rule

x.go

responses needed for go; leave null for standard rule

go.thresh

go threshold for predictive probability

ng.thresh

no-go threshold for predictive probability

Examples

Run this code
# \donttest{
my.ss.bin.trt.int.oc.df <- get.ss.bin.trt.int.oc.df()
my.ss.bin.trt.int.oc.df[[1]]
my.ss.bin.trt.int.oc.df[[2]]
# }

Run the code above in your browser using DataLab