Hello all,

I have a data frame filled with senders and recipients. Some of the senders
have multiple rows with different recipients and I want to merge those
rows. For example I have

a...@email.com     b...@email.com
a...@email.com     c...@email.com     d...@email.com
r...@email.com      f...@email.com
r...@email.com      h...@email.com

I want this to become

a...@email.com     b...@email.com     c...@email.com     d...@email.com
r...@email.com      f...@email.com      h...@email.com

How would I go about doing this?

        [[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