plot_reso: Plot a graph with vertices colored by a group variable

Description Usage Arguments Examples

Description

Plot a graph with vertices colored by a group variable

Usage

1

Arguments

g

an igraph graph

group

vector of vertices group values

Examples

1
2
3
4
5
## Random graph
g <- igraph::sample_gnp(14, 0.35)
plot(g)
res <- reso(g)
plot_reso(g, res)

juba/reso documentation built on May 20, 2019, 3:19 a.m.