[R] To find how R defined the function of "coxph"?

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Thu May 26 21:56:17 CEST 2005



Li, Jia wrote:
> Dear all,
> 
> I am wondering if there is a way to find how R defined(or wrote) the function of 
> "coxph"? I don not mean the one that we get by checking help(coxph), but the one 
> like coxph<-function(....){...}
> 
> Thanks,
> 
> Jia
> 

At the commandline, type the following:

library(survival)
coxph

BTW, I'm assuming you are referring to the coxph in the survival 
package. Please be more specific next time. Better yet, read the posting 
guide.

--sundar




More information about the R-help mailing list