print.survfit            package:survival            R Documentation

_P_r_i_n_t _a _S_h_o_r_t _S_u_m_m_a_r_y _o_f _a _S_u_r_v_i_v_a_l _C_u_r_v_e

_D_e_s_c_r_i_p_t_i_o_n:

     Print number of observations, number of events, the restricted
     mean survival and its standard error, and the median survival with
     confidence limits for the median.

_U_s_a_g_e:

     ## S3 method for class 'survfit':
     print(x, scale=1,digits = max(options()$digits - 4,
     3), print.n=getOption("survfit.print.n"), show.rmean=getOption("survfit.print.mean"),...)

_A_r_g_u_m_e_n_t_s:

       x: the result of a call to the 'survfit' function. 

 print.n: What to use for number of subjects (see below)

  digits: Number of digits to print

   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. 

show.rmean: Show the restricted mean survival?

     ...: other unused arguments

_D_e_t_a_i_l_s:

     The restricted mean ('rmean') and its standard error 'se(rmean)'
     are based on a truncated estimator.  If the last observation(s) is
     not a death, then the survival curve estimate does not go 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 last 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, and
     may not be shown by default in future versions.

     The median and its confidence interval are defined by drawing a
     horizontal line at 0.5 on the plot of the survival curve and its
     confidence bands. The intersection of the line with the lower CI
     band defines the lower limit for the median's interval, and
     similarly for the upper band.  If any of the intersections is not
     a point, then we use the smallest point of intersection, e.g., if
     the survival curve were exactly equal to 0.5 over an interval. 

     The "number of observations" is not well-defined for counting
     process data. Previous versions of this code used the number at
     risk at the first time point. This is misleading if many
     individuals enter late or change strata. The original S code for
     the current version uses the number of records, which is
     misleading when the counting process data actually represent a
     fixed cohort with time-dependent covariates.

     Four possibilities are provided, controlled by 'print.n' or by
     'options(survfit.print.n)': '"none"' prints 'NA', '"records"'
     prints the number of records, '"start"' prints the number at the
     first time point and '"max"' prints the maximum number at risk.
     The initial default is '"start"'.

_V_a_l_u_e:

     'x', with the invisible flag set.

_S_i_d_e _E_f_f_e_c_t_s:

     The number of observations (see Details), the number of events,
     the restricted mean survival ('rmean') and its standard error, and
     the median survival with its confidence interval are printed.  If
     there are multiple curves, there is one line of output for each.

_S_e_e _A_l_s_o:

     'summary.survfit', 'survfit.object', 'survfit'

_E_x_a_m_p_l_e_s:

     ##effect of print.n and show.rmean
     data(heart)
     a<-coxph(Surv(start,stop,event)~age+strata(transplant),data=heart)
     b<-survfit(a)
     print(b,print.n="none")
     print(b,print.n="records")
     print(b,print.n="start")
     print(b,print.n="max")
     print(b,show.rmean=FALSE)

