summary.survfitr: Summary of survival curves for recurrent event data

View source: R/methods.survfitr.R

summary.survfitrR Documentation

Summary of survival curves for recurrent event data

Description

Returns a matrix with the distinct event times and, at each of them, the number of events, the number of subjects at risk, the survival estimate and (when available) its standard error. If the fit has multiple curves, a list with one matrix per curve is returned.

Usage

## S3 method for class 'survfitr'
summary(object, ...)

## S3 method for class 'summary.survfitr'
print(x, scale = 1, digits = max(options()$digits - 4, 3), ...)

Arguments

object

output of a call to survfitr(), psh_fit(), wc_fit() or mlefrailty_fit().

...

other unused arguments.

x

a summary.survfitr object.

scale

a numeric value to rescale the survival time.

digits

number of digits to print.

Value

For a single curve, a matrix; for multiple curves, a list of class summary.survfitr with one matrix per curve.

See Also

survfitr()

Examples

data(MMC)
summary(survfitr(Survr(id, time, event) ~ group, data = MMC))

survrec documentation built on Sept. 22, 2026, 9:07 a.m.