get.tte.post: Get posterior parameters for two-sample time to event case...

View source: R/get.tte.post.r

get.tte.postR Documentation

Get posterior parameters for two-sample time to event case using normal approximation to log(HR) - expand.grid

Description

Returns the parameters of the posterior distribution in the case of normal approximation to hazard ratio

Usage

get.tte.post(
  m.con.prior = 10,
  m.trt.prior = 10,
  HR.prior = 0.7,
  ARatio = 1,
  HR.obs = 0.8,
  m.obs = 50
)

Arguments

m.con.prior

prior number of events on control

m.trt.prior

prior number of events on treatment

HR.prior

Prior Hazard ratio

ARatio

Randomization ratio in current trial

HR.obs

Observed HR in current trial

m.obs

Total events in current trail

Value

A data.frame is returned

Examples

my.tte.post <- get.tte.post()
my.tte.post

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