grecip
calculates the dyadic reciprocity of the elements of dat
selected by g
.grecip(dat, g=NULL)
grecip
for the graphs indicated. Note that the dyadic reciprocity is distinct from the tie reciprocity, which is the proportion of edges which are reciprocated.mutuality
, symmetrize
#Calculate the reciprocity scores for some random graphs
grecip(rgraph(10,5))
Run the code above in your browser using DataLab