symmetrize {sna} | R Documentation |
Symmetrizes the elements of mats
according to the rule in rule
.
symmetrize(mats, rule="weak")
mats |
a graph or graph stack. |
rule |
one of ``upper'', ``lower'', ``strong'' or ``weak''. |
The rules used by symmetrize
are as follows:
The symmetrized graph stack
Carter T. Butts buttsc@uci.edu
Wasserman, S., and Faust, K. (1994). Social Network Analysis: Methods and Applications. Cambridge: Cambridge University Press.
#Generate a graph g<-rgraph(5) #Weak symmetrization symmetrize(g) #Strong symmetrization symmetrize(g,rule="strong")