output from a call to surv.fit. Generally, an object of
class "surv.fit".
OPTIONAL ARGUMENTS:
times:
vector of times.
The returned matrix will contain one row for each value in times.
This must be in increasing order and missing values are not allowed.
If censored is TRUE, the default time vector contains all
the unique times in
fit$time;
otherwise the default is only the event (death) times from fit.
censored:
logical flag: should the censoring times be included in the output?
This is ignored if the times argument is present.
digits:
number of significant digits to use in the printout. Default is current value
given by options.
VALUE:
a matrix with the invisible flag set to prevent reprinting,
with rows given by (the input or default) times and
with the following columns
time:
the timepoint on the curve.
n.risk:
the number of subjects at risk at time time-0
(but see the comments on weights in the surv.fit help file).
n.event:
if the times argument is missing, then this column is the number of
events that occurred at time time.
Otherwise, it is the cumulative number of events that have occurred
since the last time listed until time time+0.
survival:
the value of the survival curve at time time+0.
std.dev:
the standard deviation of the survival value.
lower:
lower confidence limits for the curve. This is determined by components
lower and conf.level of fit.
upper:
upper confidence limits for the curve. This is determined by components
upper and conf.level of fit.
SIDE EFFECTS:
a summary of the survival curves is printed out. The output is grouped by
strata if fit$strata is not NULL.
DETAILS:
Prints a matrix containing the summary information of the survival curves,
computed by surv.fit.
cancer.surv <- surv.fit(cancer$time, cancer$status, type="fleming")
cancer.surv # This will automaticaly call print.surv.fit
print(cancer$surv) # This will too