powered by
Remove duplicate edges from an edge sequence
# S3 method for igraph.es unique(x, incomparables = FALSE, ...)
An edge sequence.
a vector of values that cannot be compared. Passed to base function duplicated. See details there.
duplicated
Passed to base function duplicated().
duplicated()
An edge sequence with the duplicate vertices removed.
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; rev.igraph.vs; union.igraph.es; union.igraph.vs; unique.igraph.vs
[.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
rev.igraph.vs
union.igraph.es
union.igraph.vs
unique.igraph.vs
# NOT RUN { g <- make_(ring(10), with_vertex_(name = LETTERS[1:10])) E(g)[1, 1:5, 1:10, 5:10] E(g)[1, 1:5, 1:10, 5:10] %>% unique() # }
Run the code above in your browser using DataLab