Remove duplicate vertices from a vertex sequence
# S3 method for class 'igraph.vs'
unique(x, incomparables = FALSE, ...)
A vertex sequence.
a vector of values that cannot be compared.
Passed to base function duplicated
. See details there.
Passed to base function duplicated()
.
A vertex sequence with the duplicate vertices removed.
Other vertex and edge sequence operations:
c.igraph.es()
,
c.igraph.vs()
,
difference.igraph.es()
,
difference.igraph.vs()
,
igraph-es-indexing
,
igraph-es-indexing2
,
igraph-vs-indexing
,
igraph-vs-indexing2
,
intersection.igraph.es()
,
intersection.igraph.vs()
,
rev.igraph.es()
,
rev.igraph.vs()
,
union.igraph.es()
,
union.igraph.vs()
,
unique.igraph.es()