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

vertex_attr_names

List names of vertex attributes


Description

List names of vertex attributes

Usage

vertex_attr_names(graph)

Arguments

graph

The graph.

Value

Character vector, the names of the vertex attributes.

See Also

Examples

g <- make_ring(10) %>%
  set_vertex_attr("name", value = LETTERS[1:10]) %>%
  set_vertex_attr("color", value = rep("green", 10))
vertex_attr_names(g)
plot(g)

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.