title: accessing elements of an object returned by confint()
body: <p>Example code</p>
  
  <pre><code>data(anorexia, package = "MASS")
  anorex.1 &lt;- glm(Postwt ~ Prewt + Treat + offset(Prewt),
              family = gaussian, data = anorexia)
  confint(anorex.1)
  </code></pre>
  
  <p>This produces</p>
  
  <pre><code>                 2.5 %     97.5 %
  (Intercept) 23.5253133 76.0169047
  Prewt       -0.8814505 -0.2496272
  TreatCont   -7.8082428 -0.3858882
  TreatFT      0.3818011  8.7443242
  </code></pre>
  
  <p>I would now like to access these confidence intervals, for example, creating a 4 variables.  What are the preferred ways to do this ? I know I can use </p>
  
  <pre><code>Intercept &lt;- c(confint(anorex.1)[1],confint(anorex.1)[5])
  Prewt &lt;- c(confint(anorex.1)[2],confint(anorex.1)[6])
  </code></pre>
  
  <p>etc... but this seems unwieldy and inelegant.</p>