View source: R/matrixoperations.R
| el2adj | R Documentation | 
Maps edgelist to adjacency matrix
el2adj(el, nodes = NULL)
el | 
 dataframe containing a (weighted) edgelist. Column 1 is the sender, column 2 is the receiver, column 3 the number of edges.  | 
nodes | 
 optional vector containing all node names in case disconnected nodes should be included.  | 
the (weighted) adjacency matrix corresponding the edgelist passed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.