title: R difference between cor and cor.test
body: <p>I do not understand why the function cor and cor.test does not give me the same result with pearson methode!</p>
  
  <pre><code>&gt; cor(varCor,method="pearson")
                Distributeurs Importateurs Producteurs Préparateurs
  Distributeurs     1.0000000    0.5480281   0.2357191    0.7115063
  Importateurs      0.5480281    1.0000000  -0.2318366    0.1740853
  Producteurs       0.2357191   -0.2318366   1.0000000    0.4414107
  Préparateurs      0.7115063    0.1740853   0.4414107    1.0000000
  
  &gt; cor.test(annee2010$Distributeurs,annee2010$Préparateurs, method="pearson")
  
      Pearson's product-moment correlation
  
  data:  annee2010$Distributeurs and annee2010$Préparateurs
  t = 14.6233, df = 94, p-value &lt; 2.2e-16
  alternative hypothesis: true correlation is not equal to 0
  95 percent confidence interval:
   0.7599547 0.8859092
  sample estimates:
        cor 
  0.8334552 
  </code></pre>
  
  <p>it comes from my data or a difference that I did not understand help?</p>