survGetParams {simstudy} | R Documentation |
Get survival curve parameters
Description
Get survival curve parameters
Usage
survGetParams(points)
Arguments
points |
A list of two-element vectors specifying the desired time and probability pairs that define the desired survival curve |
Value
A vector of parameters that define the survival curve optimized for the target points. The first element of the vector represents the "f" parameter and the second element represents the "shape" parameter.
Examples
points <- list(c(60, 0.90), c(100, .75), c(200, .25), c(250, .10))
survGetParams(points)
[Package simstudy version 0.8.1 Index]