ChB6-RCM2RR: Relative cumulative mortality to Relative Risk

Description Usage Arguments Value Author(s)

Description

Given the relative cumulative mortality (ratio of CDFs), the baseline hazard and censoring hazard at a grid of time points, calculates the corresponding risk ratio at a second specified grid of time points.

Usage

1
  RCM2RR(tlook, tcut.i, h.i, hOth, accru, rcm)

Arguments

tlook

Second grid of time points at which you desire risk ratios

tcut.i

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

h.i

Values of baseline hazard 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)

rcm

Values of relative cumulative mortality (ratio of CDFs) on interals given by tcut.i

Value

Values of risk ratio on intervals given by tlook

Author(s)

Grant Izmirlian <[email protected]>


PwrGSD documentation built on May 31, 2017, 2:32 a.m.