title: Displaying only the p-value of multiple t.tests
body: <p>I have</p>
  
  <p><code>replicate(1000, t.test(rnorm(10)))</code></p>
  
  <p>What it does that it draws a sample of size ten from a normal distribution, performs a <code>t.test</code> on it, and does this a 1000 times.
  But for my assignment I'm only interested in the p-value (the question is: how many times is the null hypothesis rejected). 
  How do I get only the p-values, or can I add something that already says how many times the null hypothesis is rejected(how many times the p-value is smaller than 0.05)</p>