[R] documentation typo in coxph?

Ramon Diaz-Uriarte rdiaz at cnio.es
Mon Oct 6 16:31:07 CEST 2003


Dear All,

I think there is a typo in the documentation for coxph (library survival).
The help says:


 eps: convergence threshold.  Iteration will continue until the
          relative change in the log-likelihood is less than eps. 
          Default is .0001. 

However, if I do "coxph.control()" I get:
> coxph.control()
$eps
[1] 1e-09

So the actual eps being used is not 10-4 but 10-9. 

Best,

Ramón


> version
         _                
platform i386-pc-linux-gnu
arch     i386             
os       linux-gnu        
system   i386, linux-gnu  
status                    
major    1                
minor    7.1              
year     2003             
month    06               
day      16               
language R                
> 
-- 
Ramón Díaz-Uriarte
Bioinformatics Unit
Centro Nacional de Investigaciones Oncológicas (CNIO)
(Spanish National Cancer Center)
Melchor Fernández Almagro, 3
28029 Madrid (Spain)
Fax: +-34-91-224-6972
Phone: +-34-91-224-6900

http://bioinfo.cnio.es/~rdiaz




More information about the R-help mailing list