title: One-Sided Hypothesis Test with T-Statistic in R?
body: <p>I want to test the following hypothesis in R using a t-statistic and compute the p-value:</p>
  
  <p>Null Hypothesis : mu &lt;= 50</p>
  
  <p>Alternate :       mu > 50</p>
  
  <pre><code>data = c(52.7, 53.9, 41.7, 71.5, 47.6, 55.1,
         62.2, 56.5, 33.4, 61.8, 54.3, 50.0, 
         45.3, 63.4, 53.9, 65.5, 66.6, 70.0,
         52.4, 38.6, 46.1, 44.4, 60.7, 56.4);
  </code></pre>
  
  <p>It should be very easy, but I'm not sure how to do it. Thank you for your help!</p>