View source: R/igraphintegration.R
CreateIgGraphs | R Documentation |
Convert a list of adjacency matrices to a list of igraph graphs.
CreateIgGraphs(adjlist, directed, selfloops, weighted = NULL)
adjlist |
a list of adjacency matrices |
directed |
a boolean argument specifying whether object is directed or not. |
selfloops |
a boolean argument specifying whether the model should incorporate selfloops. |
weighted |
boolean, generate weighted graphs? |
list of igraph graphs.
data('adj_karate')
adj_list <- list(adj_karate)
glist <- CreateIgGraphs(adj_list, FALSE, FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.