title: How to group characters
body: <p>I have a dataframe with two columns. One is a groupname and the other contains values for the group as follows. The actual list is a lot longer</p>
  
  <pre><code>MyGroup   hello
  MyGroup   goodbye
  MyGroup   bonjour
  YourGroup red
  YourGroup blue
  YourGroup green
  </code></pre>
  
  <p>I would like to create an output as follows</p>
  
  <pre><code>Mygroup&lt;-c("hello","goodbye","bonjour")
  YourGroup&lt;-c("red","blue","green")
  </code></pre>
  
  <p>Can this be done using group in dplyr or is there another way to get the desired output?</p>