Description Usage Arguments Value Examples
View source: R/aggregateVertices.R
Aggregate vertices of an igraph object. For vertices numeric columns, mean of groups is computed. For character class columns, uniques values are pasted.
1 | aggregateVertices(g, by, v.agg = V(g))
|
g |
An igraph object |
by |
Vector of the same length than vertices to aggregate them. |
v.agg |
igraph.vs or character; the vertices to aggregate. Default is all graph vertices. |
An igraph object.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.