Visualizes network with community coloring using splot.
Usage
# S3 method for class 'cograph_communities'
plot(x, network = NULL, ...)Value
The value returned by splot (invisibly). Called for
the side effect of drawing the network with nodes grouped by community.
Examples
g <- igraph::make_graph("Zachary")
comm <- community_louvain(g)
mat <- igraph::as_adjacency_matrix(g, sparse = FALSE)
plot(comm, network = mat)
