powered by
Convert a list of adjacency matrices to a list of igraph graphs.
CreateIgGraphs(adjlist, directed, selfloops, weighted = NULL)
list of igraph graphs.
a list of adjacency matrices
a boolean argument specifying whether object is directed or not.
a boolean argument specifying whether the model should incorporate selfloops.
boolean, generate weighted graphs?
data('adj_karate') adj_list <- list(adj_karate) glist <- CreateIgGraphs(adj_list, FALSE, FALSE)
Run the code above in your browser using DataLab