Terry Therneau
2009-May-22 13:28 UTC
[R] survfit, summary, and survmean (was Changelog for survival package)
> Further I appreciate your new function survmean(). At the moment it > seems to be intended as internal, and not documented in the help.The computations done by print.survfit are now a part of the results returned by summary.survfit. See 'table' in the output list of ?summary.survfit. Both call an internal survmean() function to ensure that any future updates stay in synchrony. This was a perennial (and justified) complaint with print.survfit. Per the standard print(x) always returns x, so there was no way to get the results of the print as an S object. Terry
Heinz Tuechler
2009-May-22 14:58 UTC
[R] survfit, summary, and survmean (was Changelog for survival package)
Dear Terry, sorry that I did not see this change, and thank you for it. It is very useful. Heinz At 15:28 22.05.2009, Terry Therneau wrote:> > Further I appreciate your new function survmean(). At the moment it > > seems to be intended as internal, and not documented in the help. > >The computations done by print.survfit are now a part of the results >returned by >summary.survfit. See 'table' in the output list of ?summary.survfit. Both >call an internal survmean() function to ensure that any future >updates stay in >synchrony. > >This was a perennial (and justified) complaint with print.survfit. Per the >standard print(x) always returns x, so there was no way to get the results of >the print as an S object. > > Terry >