Learn R Programming

GNGTools (version 1.0.0)

get.tte.df: Get time to event data.frame

Description

Get time to event data.frame

Usage

get.tte.df(
  m.con.prior = 50,
  m.trt.prior = 50,
  HR.prior = 0.845,
  HR.obs = seq(0.3, 1, 0.01),
  m.obs = seq(10, 200, 5),
  ARatio = 0.5,
  HR.tv = 0.8,
  HR.lrv = 0.9,
  tau.tv = 0.1,
  tau.lrv = 0.2,
  tau.ng = 0.35
)

Value

A data.frame is returned

Arguments

m.con.prior

number of prior events for control

m.trt.prior

number of prior events for treamtent

HR.prior

HR estimate

HR.obs

Observed HR

m.obs

Obeserved number of events

ARatio

Randomization ratio

HR.tv

Base TPP for HR

HR.lrv

Min TPP for HR

tau.tv

threshold associated with Base TPP

tau.lrv

threshold associated with Min TPP

tau.ng

threshold associated with No-Go

Examples

Run this code
my.tte.df <- get.tte.df()
head(my.tte.df)

Run the code above in your browser using DataLab