model.frame.coxph {survival} | R Documentation |
Recreate the model frame of a coxph fit.
## S3 method for class 'coxph' model.frame(formula, ...)
formula |
the result of a |
... |
other arguments to |
For details, see the manual page for the generic function.
This function would rarely be called by a user, it is mostly used
inside functions like residual
that need to recreate the data
set from a model in order to do further calculations.
the model frame used in the original fit, or a parallel one for new data.
Terry Therneau