predict_survival_probability {rprev} | R Documentation |
This generic method is required for any survival object used in the main
prevalence
function.
predict_survival_probability(object, newdata, times)
object |
The survival object itself |
newdata |
Simulated incident individuals, with the same attributes specified in
|
times |
The time at which to estimate the survival probability of the individual
in the corresponding row of |
A vector with the same length as times
providing the survival probability
estimates.