title: r aggregate or collapse specific column values by id
body: <p>This may be a duplicate questions. If so, then my apologies, I can delete this question. What I have is a dataset like this</p>
  <pre><code>  ID   Color   Brand  Points
    1    Blue    Bunny  10
    1    Red     Bunny  11
    2    Pink    Robin  12
    2    Red     Robin  13
  </code></pre>
  <p>What I am trying to do is just collapse/aggregate values from column : Color, Points. The final dataset to look like this</p>
  <pre><code>  ID   Color       Brand  Points
    1    Blue,Red    Bunny  10, 11
    2    Pink, Red   Robin  12, 13
  </code></pre>
  <p>Any suggestions on collapsing these columns is much appreciated. Thanks.</p>