getLambdaStepFunction | R Documentation |
Calculates the lambda step values for a given time vector.
getLambdaStepFunction(timeValues, ..., piecewiseSurvivalTime, piecewiseLambda)
timeValues |
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. |
piecewiseSurvivalTime |
A numeric vector that specifies the time intervals for the piecewise definition of the exponential survival time cumulative distribution function (see details). |
piecewiseLambda |
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
).
A numeric vector containing the lambda step values that corresponds to the specified time values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.