survfit.cph | R Documentation |
This is a slightly modified version of Therneau's survfit.coxph
function. The difference is that survfit.cph
assumes that
x=TRUE,y=TRUE
were specified to the fit. This assures that the
environment in effect at the time of the fit (e.g., automatic knot
estimation for spline functions) is the same one used for basing predictions.
## S3 method for class 'cph'
survfit(formula, newdata, se.fit=TRUE, conf.int=0.95,
individual=FALSE, type=NULL, vartype=NULL,
conf.type=c('log', "log-log", "plain", "none"), id, ...)
formula |
a fit object from |
newdata , se.fit , conf.int , individual , type , vartype , conf.type , id |
see
|
... |
Not used |
see survfit.coxph
survest.cph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.