predict.phreg | R Documentation |
Predictions from proportional hazards model
## S3 method for class 'phreg' predict( object, newdata, times = NULL, individual.time = FALSE, tminus = FALSE, se = TRUE, robust = FALSE, conf.type = "log", conf.int = 0.95, km = FALSE, ... )
object |
phreg object |
newdata |
data.frame |
times |
Time where to predict variable, default is all time-points from the object sorted |
individual.time |
to use one (individual) time per subject, and then newdata and times have same length and makes only predictions for these individual times. |
tminus |
to make predictions in T- that is strictly before given times, useful for IPCW techniques |
se |
with standard errors and upper and lower confidence intervals. |
robust |
to get robust se's. |
conf.type |
transformation for suvival estimates, default is log |
conf.int |
significance level |
km |
to use Kaplan-Meier product-limit for baseline S_{s0}(t)= (1 - dA_{s0}(t)) , otherwise take exp of cumulative baseline. |
... |
Additional arguments to plot functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.