Re: [R] Help with coxph object

From: David Hajage <dhajage.r_at_gmail.com>
Date: Mon, 21 Jan 2008 17:00:38 +0100

hello,

it is in the summary.coxph object :

> names(summary(yourcoxobject))

You can see '$coef'

> summary(yourcoxobject)$coef[,5]

2008/1/21, Eleni Christodoulou <elenichri_at_gmail.com>:
>
> Hello R community!
>
> I am trying to apply the cox model and thus I am creating a coxph object.
> I
> would like to retrieve the p-values from this and keep them separately in
> another vector. I can see them when I give a command for the result to
> appear. However, the p values are not in the list of values of a coxph
> object and I don't know how to keep them for future reference. Could
> anybody
> help me with this?
>
> Thank you very much in advance,
> Eleni
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 21 Jan 2008 - 16:03:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Jan 2008 - 16:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive