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

Ch17-CRRtoRR

Cumulative-risk ratios to risk ratios


Description

Given a vector of cumulative-risk ratios, computes risk ratios

Usage

CRRtoRR(CRR, DT, h = NULL)

Arguments

CRR

vector of cumulative risk ratios of length m

DT

vector of time increments upon which the cumulative ratios represent. For example if the hazard takes values $h_1, h_2, ..., h_m$ on the intervals $[t_1, t_2), [t_2, t_3), ..., [t_m, t_m+1)$ then DT will be c($t_2-t_1,t_3 -t_2, ..., t_m+1 - t_m )$

h

The hazard in the reference arm, of length m

Value

The vector of risk ratios at the m time points

Author(s)

Grant Izmirlian <izmirlian@nih.gov>

Examples

## none as yet

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.