Relative risk to Relative Cumulative Mortality

Share:

Description

Relative risk to Relative Cumulative Mortality

Usage

1
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

Author(s)

Grant Izmirlian <izmirlian@nih.gov

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.