make.tte.ria: Make time to event rule in action plot

View source: R/make.tte.ria.r

make.tte.riaR Documentation

Make time to event rule in action plot

Description

Make time to event rule in action plot

Usage

make.tte.ria(
  m.con.prior = 1,
  m.trt.prior = 1,
  HR.prior = 1,
  ARatio = 0.5,
  HR.obs = 0.845,
  m.obs = 1500,
  HR.tv = 0.8,
  HR.lrv = 0.9,
  tau.tv = 0.1,
  tau.lrv = 0.7,
  tau.ng = 0.7,
  tsize = 4,
  nlines = 25,
  nlines.ria = 20,
  add.table = TRUE
)

Arguments

m.con.prior

prior number of control events

m.trt.prior

prior number of treatment events

HR.prior

prior estimate for HR

ARatio

Allocation ratio

HR.obs

observed hazard ratio

m.obs

observed number of events

HR.tv

TPP Target Value aka Base TPP

HR.lrv

TPP Lower Reference Value aka Max TPP (large HRs lead to No-Go)

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.tte.ria <- make.tte.ria(add.table=TRUE)
plot(my.tte.ria[[1]])
my.tte.ria[[2]]
my.tte.ria[[3]]
my.tte.ria[[4]]

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