View source: R/summary_predict_icfit.R
summary.predict.icfit | R Documentation |
Summary method for an object of class 'predict.icfit'
## S3 method for class 'predict.icfit'
summary(object, times, ...)
object |
Object of class 'predict.icfit' |
times |
The time points at which to summarize the predicted hazards, cumulative hazards and survival probabilities, with associated standard errors and confidence intervals |
... |
Other arguments to plot |
A data frame (if object was a data frame) or a list of data frames (if object was a list of data frames) with hazards etc linearly interpolated between the time points used in the predict function
icf <- icfit(Surv(left, right, type='interval2') ~ period + gender + age,
data=drugusers)
pred_icf <- predict(icf)
summary(pred_icf, times=c(0, 30, 183, 365))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.