[R] How to obtain confidence intervals from a coxph object?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 29 14:29:50 CEST 2004


On Fri, 29 Oct 2004, Vegard Andersen wrote:

> I am performing an analysis which looks like this:
> 
> cox.out <- coxph(Survobject ~ x1 + x2 + x3)
> summary(cox.out)
> 
> This works fine, but I have not been able to extract any of the output  
>  from "summary(cox.out)", for instance like:
> 
> summary(cox.out)$coef  or
> summary(cox.out)$lower
> 
> So my question is if there is any way to extract the information given in  
> summary(cox.out)?

Yes, provided you have updated to survival_2.15 (out this week).


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




More information about the R-help mailing list