I'm analysing a e-mail network. I loaded the following information in a directed igraph on R:
Vertex types: person, e-mail
V(g)[ type == "person" ]
V(g)[ type == "email" ]
Edge types: sends, receives
E(g)[ type == "send" ]
E(g)[ type == "receive" ]
So for example:
John --send--> email1 --receive--> Mary
John --send--> email2 --receive--> Mary
Mary --send--> email3 --receive--> John
I would like to generate a summary of the e-mail activity, with edges with an attribute representing the number of emails:
John --2--> Mary
Mary --1--> John
How would I go about to do that?
Thanks,
Mulone