title: Triplicates in R
body: <p>I have a set of 80 samples, with 2 variables, each measured as triplicate:</p>
  
  <pre><code>sample  var1a    var1b    var1c    var2a    var2b    var2c
  1      -169.784 -155.414 -146.555 -175.295 -159.534 -132.511
  2      -180.577 -180.792 -178.192 -177.294 -171.809 -166.147
  3      -178.605 -184.183 -177.672 -167.321 -168.572 -165.335
  </code></pre>
  
  <p>and so on. How do I apply functions like mean, sd, se etc. for each row for var1 and var2? Also, the dataset contains NAs. Thanks for bothering with such basic questions</p>