title: Access elements in summary() in R
body: <p>I would like to access some elements of an Anova summary in R. I've been trying things like in this question <a href="https://stackoverflow.com/q/25225480/3801533">Access or parse elements in summary() in R</a>.</p>
  
  <p>When I convert the summary to a string it shows something like this:</p>
  
  <pre><code>str(summ)
  List of 1
   $ :Classes 'anova' and 'data.frame':   2 obs. of  5 variables:
    ..$ Df     : num [1:2] 3 60
    ..$ Sum Sq : num [1:2] 0.457 2.647
    ..$ Mean Sq: num [1:2] 0.1523 0.0441
    ..$ F value: num [1:2] 3.45 NA
    ..$ Pr(&gt;F) : num [1:2] 0.022 NA
   - attr(*, "class")= chr [1:2] "summary.aov" "listof"
  </code></pre>
  
  <p>How can I access the F value?
  I've been trying things like <code>summ[c('F value')]</code> and I still can't get it to work.</p>
  
  <p>Any help would be greatly appreciated!</p>