Calculates the lambda step values for a given time vector.
getLambdaStepFunction(timeValues, ..., piecewiseSurvivalTime, piecewiseLambda)
A numeric vector containing the lambda step values that corresponds to the specified time values.
A numeric vector that specifies the time values for which the lambda step values shall be calculated.
Ensures that all arguments (starting from the "...") are to be named and that a warning will be displayed if unknown arguments are passed.
A numeric vector that specifies the time intervals for the piecewise definition of the exponential survival time cumulative distribution function (see details).
A numeric vector that specifies the assumed hazard rate in the treatment group.
The first element of the vector piecewiseSurvivalTime
must be equal to 0
.
This function is used for plotting of sample size survival results
(cf., plot
, type = 13
and type = 14
).