survGetParams | R Documentation |
Get survival curve parameters
survGetParams(points)
points |
A list of two-element vectors specifying the desired time and probability pairs that define the desired survival curve |
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.
points <- list(c(60, 0.90), c(100, .75), c(200, .25), c(250, .10))
survGetParams(points)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.