# model.frame.coxph

From survival v3.1-8
by Terry Therneau

##### Model.frame method for coxph objects

Recreate the model frame of a coxph fit.

- Keywords
- survival

##### Usage

```
# S3 method for coxph
model.frame(formula, ...)
```

##### Arguments

- formula
the result of a

`coxph`

fit- …
other arguments to

`model.frame`

##### Details

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.

##### Value

the model frame used in the original fit, or a parallel one for new data.

##### See Also

*Documentation reproduced from package survival, version 3.1-8, License: LGPL (>= 2)*

### Community examples

Looks like there are no examples yet.