Class for the definition of piecewise survival times.
piecewiseSurvivalTimeThe time intervals for the piecewise definition of the exponential survival time cumulative distribution function. Is a numeric vector.
lambda1The assumed hazard rate in the treatment group. Is a numeric vector of length kMax.
lambda2The assumed hazard rate in the reference group. Is a single numeric value.
hazardRatioThe hazard ratios under consideration. Is a numeric vector of length kMax.
pi1The assumed event rate in the treatment group. Is a numeric vector of length kMax containing values between 0 and 1.
pi2The assumed event rate in the control group. Is a single numeric value between 0 and 1.
median1The assumed median survival time in the treatment group. Is a numeric vector.
median2The assumed median survival time in the reference group. Is a single numeric value.
eventTimeThe assumed time under which the event rates are calculated. Is a single numeric value.
kappaThe shape of the Weibull distribution if kappa!=1. Is a single numeric value.
piecewiseSurvivalEnabledIndicates whether specification of piecewise definition of survival time is selected. Is a single logical value.
delayedResponseAllowedIf TRUE, delayed response is allowed, if FALSE the response is not delayed.
delayedResponseEnabledIf TRUE, delayed response is enabled, if FALSE delayed response is not enabled.
PiecewiseSurvivalTime is a class for the definition of piecewise survival times.