Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Ch18-RCM2RR

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>


PwrGSD

Power in a Group Sequential Design

v2.3.3
GPL (>= 2)
Authors
Grant Izmirlian <izmirlig@mail.nih.gov>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.