title: How to determine reciprocity between groups in a network?
body: <p>I have a directed network with male and female nodes. I would like to determine if the proportion of reciprocated ties from males to females is higher/lower than the proportion of reciprocated ties from females to males. Currently I do this in a relatively manual way.</p>
  
  <p>I create an edge attribute using <code>which_mutual(graph, es = E(graph))</code>. </p>
  
  <p>Then I remove all mutual dyads, using 
  <code>subgraph.edges(graph, which(E(graph)$mut==TRUE)</code>. </p>
  
  <p>This leaves only asymmetric ties in the graph.</p>
  
  <p>Then I compute the count of ties from Female to Male and from Male to Female and divide that by the total number of edges in the graph. </p>
  
  <p>But there has to be a function that allows to determine reciprocity between groups. Am I missing it?</p>
  
  <p>Thanks
  Bogdan </p>