I am using ddply right now. It's very easy to deal with numbers. Such as take the mean or standard deviation of the subgroup. 
But I have difficulty dealing with strings. I would like to combine the strings in the same column in each subgroup, but I could not do it. I tried cbind paste, etc. Anyone can offer some help?
 
     
     
     
    