Create a list of vertex groups from some graph clustering or community
structure.
Usage
groups(x)
Arguments
x
Some object that represents a grouping of the vertices. See details
below.
Value
A named list of numeric or character vectors. The names are just
numbers that refer to the groups. The vectors themselves are numeric or
symbolic vertex ids.
Details
Currently two methods are defined for this function. The default method
works on the output of components. (In fact it works on any
object that is a list with an entry called membership.)