PwrGSD (version 2.3.1)

RR2RCM: Relative risk to Relative Cumulative Mortality

Description

Relative risk to Relative Cumulative Mortality

Usage

RR2RCM(tlook, tcut.i, tcut.ii, h, rr, hOth, accru)

Arguments

tlook

Grid of time points at which you desire cumlative relative mortality

tcut.i

Grid of time points at which baseline hazard, censoring hazard and relative cumulative mortality are specified (left hand endpoints of intervals)

tcut.ii

Grid of time points at which study arm hazard is specified (left hand endpoints of intervals)

h

Values of baseline hazard on intervals given by tcut.i

rr

Values of risk ratio on intervals given by tcut.i

hOth

Values of censoring hazard on intervals given by tcut.i

accru

Time at which uniform accrual is completed (starts at 0)

Value

Values of relative cumulative mortality (ratio of CDFs) on interals given by tlook