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

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

get.tte.post.dfR Documentation

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

Description

Returns the parameters of the posterior distribution in the case of normal approximation to hazard ratio - this version does not expand grid

Usage

get.tte.post.df(
  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.df <- get.tte.post.df()
head(my.tte.post.df)

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