basehaz(fit, centered=TRUE)
fit$mean
, if FALSE return a
prediction for all covariates equal to zero.hazard
, time
and
optionally strata
. The first is actually the cumulative hazard.survfit
, which is the
actual function that does all the computations. See the manual page
for that function for the preferred use. This function survives only
for backwards support of prior usage. The function returns a data frame containing the time
,
cumhaz
and optionally the strata (if the fitted Cox model used
a strata statement), which are copied the survfit
result.
If there are factor variables in the model, then the default
predictions at the "mean" are meaningless since they do not correspond
to any possible subject; correct results require use of the
newdata
argument of survfit. Results for all covariates =0 are
normally only of use as a building block for further calcuations.
survfit.coxph