printsurvfitr: Print a Short Summary of a Survival Recurrent Curve

Description Usage Arguments Details Value See Also Examples

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

1
2
## S3 method for class 'survfitr'
print(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.

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.

The number of observations, the number of events, the restricted mean survival and its standard error, the median survival and the minimum, maximum and median number of recurrences are printed. If there are multiple curves, there is one line of output for each.

See Also

summary.survfitr, survfitr

Examples

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

Example output

Loading required package: boot

Needs to Determine a Seed Value for Alpha
 Seed Alpha:  8.839677
 
 Alpha estimate= 4.29503
 
Needs to Determine a Seed Value for Alpha
 Seed Alpha:  267
 
 Alpha estimate= 1766.997
 Survival for recurrent event data. Group= group
         n events mean se(mean) median recurrences: min max median
Males    7     31  111    14.65     94                1   9      3
Females 12     49  110     7.69    106                2   6      4

survrec documentation built on May 30, 2017, 7:19 a.m.