title: Summing columns in R Data Set
body: <p>I have a data set that I would like to sum up all of Action_1 and Action_2 and according to USER_IDs (eventually removing duplicates in USER_ID)</p>
  
  <pre><code>User_ID    Action_1   Action_2
  user_001   1          1
  user_001   1          0
  user_001   0          1
  user_002   1          1
  user_002   0          1
  </code></pre>
  
  <p>...</p>
  
  <p>Outcome:</p>
  
  <pre><code>User_ID   Action_1   Action_2
  user_001  2          2
  user_002  1          2
  </code></pre>
  
  <p>...</p>
  
  <p>Is there a way to accomplish this in R? I do apologize in advance as I do not know the terminology of this technique.</p>
  
  <p>Thanks.</p>