convert2igraph {EGAnet} | R Documentation |
igraph
Converts networks to igraph
format
convert2igraph(A, diagonal = 0)
A |
Matrix or data frame. N x N matrix where N is the number of nodes |
diagonal |
Numeric.
Value to be placed on the diagonal of |
Returns a network in the igraph
format
Hudson Golino <hfg9s at virginia.edu> & Alexander P. Christensen <alexander.christensen at Vanderbilt.Edu>
convert2igraph(ega.wmt$network)