Classify dyads in a directed graphs. The relationship between each pair of vertices is measured. It can be in three states: mutual, asymmetric or non-existent.
dyad_census(graph)
The input graph. A warning is given if it is not directed.
A named numeric vector with three elements:
The number of pairs with mutual connections.
The number of pairs with non-mutual connections.
The number of pairs with no connection between them.
Holland, P.W. and Leinhardt, S. A Method for Detecting Structure in Sociometric Data. American Journal of Sociology, 76, 492--513. 1970.
Wasserman, S., and Faust, K. Social Network Analysis: Methods and Applications. Cambridge: Cambridge University Press. 1994.
triad_census
for the same classification, but with
triples.
# NOT RUN {
g <- sample_pa(100)
dyad_census(g)
# }
Run the code above in your browser using DataLab