survfit(formula, ...)
survfit
containing one or more survival curves.?survfit.formula
or ?survfit.coxph
. A survfit object may contain a single curve, a set of curves, or a
matrix curves.
Predicted curves from a coxph
model have one row for each
stratum in the Cox model fit and one column for each specified
covariate set.
Curves from a multi-state model have one row for each stratum and
a column for each state, the strata correspond to predictors on the
right hand side of the equation. The default printing and plotting
order for curves is by column, as with other matrices. Curves can be subscripted using either a single or double subscript.
If the set of curves is a matrix, as in the above, and one of the
dimensions is 1 then the code allows a single subscript to be used.
(That is, it is not quite as general as using a single subscript for
a numeric matrix.)survfit.formula
,
survfit.coxph
,
survfit.object
, print.survfit
,
plot.survfit
, quantile.survfit
,
summary.survfit