title: Extract P values from coxph
body: <p>I run the following code and get an object names res.cox, which when I print I can see its p values</p>
  
  <pre><code>res.cox &lt;- coxph(
    Surv(DB$time,DB$event) ~
      age + gender + var1 + var2 + ... + varN
    , data =  DB)
  </code></pre>
  
  <p>i can easily extract the HR and the Conf interval by the following:</p>
  
  <pre><code>HR &lt;- round(exp(coef(res.cox)), 2)
  CI &lt;- round(exp(confint(res.cox)), 2)
  </code></pre>
  
  <p>But whatever I try I can't extract the list of P values.</p>
  
  <p>Any help would be greatly appreciated.</p>