cox_model_prediction {vaccineff} | R Documentation |
Internal function to calculate prediction from Cox model
Description
Internal function to calculate prediction from Cox model
Usage
cox_model_prediction(cox_model, vaccinated_status, unvaccinated_status)
Arguments
cox_model |
Result from |
Value
data.frame
containing
time
: time-to-event until at
logtime
: log of time-to-event
hazard
: estimated hazard from model
surv
: estimated survival probability from model
loglog
: -log(-log(survival probability))
strata
: vaccinated/unvaccinated status
[Package vaccineff version 1.0.0 Index]