Convert a list of adjacency matrices to a list of igraph graphs.
CreateIgGraphs(adjlist, directed, selfloops, weighted = NULL)
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?
list of igraph graphs.
# NOT RUN { data('adj_karate') adj_list <- list(adj_karate) glist <- CreateIgGraphs(adj_list, FALSE, FALSE) # }
Run the code above in your browser using DataCamp Workspace