Description Usage Arguments Value
This function returns predictions from a flexsurvreg
object. This can be a
convenient/faster alternative to summary.flexsurvreg
, when the number of observations with
unique combinations of covariates is large.
1 2 3 |
object |
Object of type |
newdata |
A dataframe to apply predictions to. |
times |
A numeric vector of times for which to return predictions, with length equal to
|
type |
What type of prediction? Options are "survival", "cumhaz", and "hazard". |
start |
Optional. A numeric vector of start (truncation) times. |
... |
Ignored. |
A numeric vector of predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.