dyad.census | R Documentation |
dyad.census
computes a Holland and Leinhardt dyad census on the graphs of dat
selected by g
.
dyad.census(dat, g=NULL)
dat |
one or more graphs. |
g |
the elements of |
Each dyad in a directed graph may be in one of four states: the null state (a \not\leftrightarrow b
), the complete or mutual state (a \leftrightarrow b
), and either of two asymmetric states (a \leftarrow b
or a \rightarrow b
). Holland and Leinhardt's dyad census classifies each dyad into the mutual, asymmetric, or null categories, counting the number of each within the digraph. These counts can be used as the basis for null hypothesis tests (since their distributions are known under assumptions such as constant edge probability), or for the generation of random graphs (e.g., via the U|MAN distribution, which conditions on the numbers of mutual, asymmetric, and null dyads in each graph).
A matrix whose three columns contain the counts of mutual, asymmetric, and null dyads (respectively) for each graph
Carter T. Butts buttsc@uci.edu
Holland, P.W. and Leinhardt, S. (1970). “A Method for Detecting Structure in Sociometric Data.” American Journal of Sociology, 76, 492-513.
Wasserman, S., and Faust, K. (1994). “Social Network Analysis: Methods and Applications.” Cambridge: Cambridge University Press.
mutuality
, grecip
, rguman
triad.census
, kcycle.census
, kpath.census
#Generate a dyad census of random data with varying densities
dyad.census(rgraph(15,5,tprob=c(0.1,0.25,0.5,0.75,0.9)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.