permute.vertices {igraph} | R Documentation |
Permute the vertices of a graph
Description
permute.vertices()
was renamed to permute()
to create a more
consistent API.
Usage
permute.vertices(graph, permutation)
Arguments
graph |
The input graph, it can directed or undirected. |
permutation |
A numeric vector giving the permutation to apply. The
first element is the new id of vertex 1, etc. Every number between one and
|
[Package igraph version 2.0.3 Index]