Ch16-CY2TOShaz: Calender year rates to Study Year Rates

Description Usage Arguments Value Author(s) Examples

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

Example output

Loading required package: survival
PwrGSD 2.3.1

PwrGSD documentation built on Dec. 11, 2021, 9:43 a.m.