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.

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

`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 |

Values of risk ratio on intervals given by tlook

Grant Izmirlian <izmirlian@nih.gov>

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.