print.survfitr {survrec}R Documentation

Print a Short Summary of a Survival Recurrent Curve

Description

Print number of observations, number of events, the restricted mean survival and its standard error, the median survial and the minimum, maximum and median number of recurrences for each subject.

Usage

print.survfitr(x, scale=1, digits=max(options()$digits - 4, 3), ...)

Arguments

x the result of a call to the survfit, psh.fit, wc.fil or mlefrailty.fit functions
scale a numeric value to rescale the survival time, e.g., if the input data to survfit were in days, scale=365 would scale the printout to years
digits number of digits to print
... other unusued arguments

Details

The restricted mean and its standard error are based on a truncated estimator. If the last observation(s) is not a death, then the survival curve estimate does not fot to zero and the mean survival time cannot be estimated. Instead, the quantity reported is the mean of survival restricted to the time before the last censoring. When the las censoring time is not random this quantity is occasionally of interest.

Any randomness in the last censoring time is not taken into account in computing the standard error of the restricted mean. The restricted mean is shown mainly for compatibility with S.

The median are defined by drawing a horizontal line at 0.5 on the plot of the survival curve.

Value

x, with the invisible flag set

See Also

summary.survfitr, survfitr

Examples

data(MMC)
fit<-survfitr(Survr(id,time,event)~group,data=MMC)
print(fit)

[Package survrec version 1.1-2 Index]