rev.igraph.vs {igraph} | R Documentation |
Reverse the order in a vertex sequence
## S3 method for class 'igraph.vs' rev(x)
x |
The vertex sequence to reverse. |
The reversed vertex sequence.
Other vertex and edge sequence operations: [.igraph.es
,
%–%
, %->%
,
%<-%
, igraph-es-indexing
;
[.igraph.vs
,
igraph-vs-indexing
;
[[.igraph.es
,
igraph-es-indexing2
;
[[.igraph.vs
,
igraph-vs-indexing2
;
c.igraph.es
; c.igraph.vs
;
difference.igraph.es
;
difference.igraph.vs
;
intersection.igraph.es
;
intersection.igraph.vs
;
rev.igraph.es
;
union.igraph.es
;
union.igraph.vs
;
unique.igraph.es
;
unique.igraph.vs
g <- make_(ring(10), with_vertex_(name = LETTERS[1:10])) V(g) %>% rev()