RCM2RR {PwrGSD} | R Documentation |
Relative cumulative mortality to Relative Risk
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
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 <izmirlian@nih.gov>
[Package PwrGSD version 2.3.7 Index]