Hi
I have a data frame with values in following format.

param       case1
1               a
2               b
2               c
2               d
3               e
4               f


how to use aggregate so that it I only one row for each 'param' value.

the output for the above input should be

param     case1
1      a
2      b,c,d
3      e
4      f

Thanks
M



-- 
-------------
Mary Kindall
Yorktown Heights, NY
USA

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to