Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

delete_edge_attr

Delete an edge attribute


Description

Delete an edge attribute

Usage

delete_edge_attr(graph, name)

Arguments

graph

The graph

name

The name of the edge attribute to delete.

Value

The graph, with the specified edge attribute removed.

See Also

Examples

g <- make_ring(10) %>%
  set_edge_attr("name", value = LETTERS[1:10])
edge_attr_names(g)
g2 <- delete_edge_attr(g, "name")
edge_attr_names(g2)

igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.