
grecip
calculates the dyadic reciprocity of the elements of dat
selected by g
.grecip(dat, g = NULL, measure = c("dyadic", "edgewise"))
"dyadic"
(default) or "edgewise"
grecip
for the graphs indicated. Note that the dyadic reciprocity is distinct from the edgewise or tie reciprocity, which is the proportion of edges which are reciprocated. This latter form may be obtained by setting measure="edgewise"
.mutuality
, symmetrize
#Calculate the dyadic reciprocity scores for some random graphs
grecip(rgraph(10,5))
Run the code above in your browser using DataLab