# survfit.cph

From rms v2.0-2
by Frank E Harrell Jr

##### Cox Predicted Survival

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.

- Keywords
- survival

##### Usage

```
## S3 method for class 'cph':
survfit(formula, newdata, se.fit=TRUE, conf.int=0.95,
individual=FALSE, type, vartype,
conf.type=c('log', "log-log", "plain", "none"), ...)
```

##### Arguments

- formula
- a fit object from
`cph`

or`coxph`

see`survfit.coxph`

- newdata
- se.fit
- conf.int
- individual
- type
- vartype
- conf.type
- see
`survfit`

- ...
- Not used

##### Value

- see
`survfit.coxph`

##### See Also

*Documentation reproduced from package rms, version 2.0-2, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.