A Function To List Removed Edges
This function can be used to retrieve a numerical vector which will
describe which edges in a graph would be removed if
is set to
combined during plotting.
- An object of class
Ragraph, the graph to perform this operation on
This function will simply detect which (if any) edges in a graph would be removed during combination of reciprocated edges.
A numerical vector, where the values correspond to removed edges.
set.seed(123) V <- letters[1:10] M <- 1:4 g1 <- randomGraph(V, M, .2) removedEdges(g1)