predictedHazard | R Documentation |
This code is borrowed from internal function agsurv from survival package.
predictedHazard(fit)
fit |
fitted |
A list of S3 objects.
n |
number of observations used in the fit. |
events |
total number of events of interest in the fit. |
time |
time points defined by the risk set. |
n.risk |
the number of individuals at risk at time |
n.event |
the number of events that occur at time |
n.censor |
the number of subjects who exit the risk set, without an event, at time |
surv |
a vector or a matrix of estimated survival function. |
chaz, hazard |
a vector or a matrix of estimated cumulative hazard. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.