title: How to get p-value from a summary anova test in R?
body: <p>I have this R code </p>
  
  <pre><code>As = rnorm(5, mean = 0, sd = 5)
  Bs = rnorm(5, mean = 0, sd = 5)
  Cs = rnorm(5, mean = 0, sd = 5)
  
  dat = data.frame(factor   = c("A","A","A","A","A","B","B","B","B","B", 
                                "C","C","C","C","C"),
                   response = c(As, Bs, Cs))
  
  summary(aov(response ~ factor, data = dat))
  </code></pre>
  
  <p>That return this result</p>
  
  <pre><code>&gt; summary(aov(response ~ factor, data = dat))
              Df Sum Sq Mean Sq F value Pr(&gt;F)
  factor       2  36.08   18.04   0.807  0.469
  Residuals   12 268.22   22.
  </code></pre>
  
  <p>I would like to access to the value <code>Pr(&gt;F)</code> that is <code>0.469</code>. How can I do that?</p>