Get Node Attributes
node_get_attr(x, attr_name, which_nodes = seq_nodes(x), ...) # S3 method for igraph node_get_attr(x, attr_name, which_nodes = seq_nodes(x), ...) # S3 method for network node_get_attr(x, attr_name, which_nodes = seq_nodes(x), auto_unlist = TRUE, ...)
x |
|
---|---|
attr_name |
|
which_nodes |
|
... | Arguments passed to or from other methods. |
auto_unlist | If possible, safely flatten the result to an atomic vector. |
atomic
vector
or <list>
#> [1] 5#> [1] 5