[R] residuals.coxph

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Nov 22 13:01:02 CET 2005


On Tue, 22 Nov 2005, giovanni parrinello wrote:

> I am trying to apply the function 'cox.zph' of the library survival, but 
> I receive this error message: not found the object 'residuals.coxph'.

Please show us exactly what you did and use traceback() to show where the 
message came from.  example(cox.zph) works on my systems, and

> getAnywhere("residuals.coxph")
A single object matching 'residuals.coxph' was found
It was found in the following places
   registered S3 method for residuals from namespace survival
   namespace:survival
...

Do you perhaps have a local copy of cox.zph?  Try running R with 
--vanilla to be sure.

> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list