title: paste several column values into one value in R
body: <p>I have a really simple question that I cannot find a straightforward answer for. I have a data.frame that looks like this:</p>
  
  <pre><code>df3 &lt;- data.frame(x=c(1:10),y=c(5:14),z=c(25:34))
  
  ID  x  y  z
  1   1  5 25
  2   2  6 26
  3   3  7 27
  etc.
  </code></pre>
  
  <p>And I want to 'paste' together the different values in each column so that they form a single, combined value, as in:</p>
  
  <pre><code>ID x+y+z
  1  1525
  2  2626
  3  3727
  </code></pre>
  
  <p>I'm sure that this is very easy to do, but I just don't know how!</p>