From ripley at stats.ox.ac.uk  Thu May  4 20:38:06 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 4 May 2006 19:38:06 +0100 (BST)
Subject: [Rd] Cox survival model
In-Reply-To: <Pine.LNX.4.64.0605041104130.29649@homer21.u.washington.edu>
References: <445A361B.40909@rics.bwh.harvard.edu>
	<Pine.LNX.4.64.0605041104130.29649@homer21.u.washington.edu>
Message-ID: <Pine.LNX.4.64.0605041934290.23562@gannet.stats.ox.ac.uk>

On Thu, 4 May 2006, Thomas Lumley wrote:

> On Thu, 4 May 2006, Gregory Kotler wrote:
>
>> Hi ALL,
>>
>> I am trying to modify Cox propotional hazard function according to my
>> project needs.
>> Is it possible to find source code of C procedures used for fittinf
>> PHREG model:
>> coxfit2.c and  coxmart.c.?
>
> They are in the source code package.

I presume the level of problem here is that that user does not know about 
that, and is a Windows or Mac user.

Go to your nearest CRAN mirror and visit the equivalent of
http://cran.r-project.org/src/contrib/Descriptions/survival.html

That has a link to 'Package source:'  Download it, and it you are a 
Windows user unpack it using the tools from

http://www.murdoch-sutherland.com/Rtools/

-- 
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



[Rd] Cox survival model
Prof Brian Ripley