hello,

it is in the summary.coxph object :

> names(summary(yourcoxobject))
You can see '$coef'

> summary(yourcoxobject)$coef[,5]

2008/1/21, Eleni Christodoulou <[EMAIL PROTECTED]>:
>
> 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@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@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.

Reply via email to