ChB4-CY2TOShaz: Calender year rates to Study Year Rates

Description

Given the cutpoints at which the hazard is to be constant, the values taken by the calender year rates and the calender time offset from the start of the trial at which randomization ended, this function converts to time on study rates, assuming uniform accrual.

Usage

1
  CY2TOShaz(tcut, t.eor, m, verbose = FALSE)

Arguments

tcut

Left hand endpoints of intervals on which time on study hazard is taken to be constant

t.eor

Time offsest from the beginning of the trial at which randomization ended

m

Annual calender time rates

verbose

do you want to see alot of debugging info–defaults to FALSE

Value

hazard = h, table = attr(obj., "tbl")

hazard

time on study hazard values taken on intervals specified by the argument tcut

table

a table containg the observed and fitted values

Author(s)

Grant Izmirlian <izmirlian@nih.gov>

Examples

1
  ## none as yet

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

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