convert2igraph | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.