Get the names of a network's node attributes.

node_get_attr_names(.net)

# S3 method for igraph
node_get_attr_names(.net)

# S3 method for network
node_get_attr_names(.net)

Arguments

.net

network of class igraph or network.

Value

character vector

Examples

node_get_attr_names(.net = florence_business_ig)
#> [1] "name" "wealth" "priors"
florence_business_nw %>% node_get_attr_names()
#> [1] "vertex.names" "wealth" "priors"