Description Usage Arguments Value
View source: R/survival_misc.R
extend survival::predict.coxph to give 'median', 'mean' and a vector a survial quantile
1 2 3 |
object |
Coxph object |
newdata |
Newdata to predict |
type |
Type of prediction |
max.surv.time |
Usually maximum follow-up time |
... |
Other argument passed to survival : : predict.coxph |
a vector of predicted value or a matrix of survival probability if type = 'prob', with colnames = times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.