« Return to Thread: retrieve p-value from a cox.obj

Re: retrieve p-value from a cox.obj

by Therneau, Terry M., Ph.D. :: Rate this Message:

Reply to Author | View in Thread

 
 Several responders have given input on how to find and read the code for
summary.coxph and print.coxph, or using str() to examine the output of a
coxph object.

  An even better starting place would be the documentation (yes there is some).
 
help(coxph) gives a page that contains:

  "Value:  an object of class coxph.  See 'coxph.object' for details."
 
and help(coxph.object) gives a description of all the components.

        Terry Therneau

______________________________________________
R-help@... 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.

 « Return to Thread: retrieve p-value from a cox.obj