On 7/11/07, Marc Schwartz <[EMAIL PROTECTED]> wrote: > Actually, in this case, looking at the code for: > > survival:::print.survreg > > would be better, as the p value is calculate there, rather than being > part of the survreg object. As with many R functions, the p value is > calculated in the print method for the object.
I wish print methods wouldn't do that. Printing is supposed to be about displaying existing create, not creating new values. Hadley ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.