powered by
Delete edges from a graph
delete_edges(graph, edges)
The input graph.
The edges to remove, specified as an edge sequence.
The graph, with the edges removed.
Other functions for manipulating graph structure: +.igraph; -.igraph, igraph-minus; add.edges, add_edges; add.vertices, add_vertices; delete.vertices, delete_vertices; edge, edges; path; vertex, vertices
+.igraph
-.igraph
igraph-minus
add.edges
add_edges
add.vertices
add_vertices
delete.vertices
delete_vertices
edge
edges
path
vertex
vertices
# NOT RUN { g <- make_ring(10) %>% delete_edges(seq(1, 9, by = 2)) g g <- make_ring(10) %>% delete_edges("10|1") g # }
Run the code above in your browser using DataLab