PwrGSD (version 2.3.1)

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

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

Examples

Run this code
# NOT RUN {
  ## none as yet
# }

Run the code above in your browser using DataLab