Reverse the order in a vertex sequence
# S3 method for igraph.vs
rev(x)
The vertex sequence to reverse.
The reversed vertex sequence.
Other vertex and edge sequence operations:
c.igraph.es()
,
c.igraph.vs()
,
difference.igraph.es()
,
difference.igraph.vs()
,
igraph-es-indexing2
,
igraph-es-indexing
,
igraph-vs-indexing2
,
igraph-vs-indexing
,
intersection.igraph.es()
,
intersection.igraph.vs()
,
rev.igraph.es()
,
union.igraph.es()
,
union.igraph.vs()
,
unique.igraph.es()
,
unique.igraph.vs()
# NOT RUN { g <- make_(ring(10), with_vertex_(name = LETTERS[1:10])) V(g) %>% rev() # }
Run the code above in your browser using DataCamp Workspace