Skip to content
Back to formatted view

Raw Message

Message-ID: <429629E1.5090508@pdf.com>
Date: 2005-05-26T19:56:17Z
From: Sundar Dorai-Raj
Subject: To find how R defined the function of "coxph"?
In-Reply-To: <3D0B2434377E984E9C85CAA316F8B183357CA1@nsabpmail>

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