Skip to contents

Get the observed values of a node or edge attribute

Usage

get_attr_values(g, x, what = c("node", "edge"))

Arguments

g

An igraph object.

x

Name of the attribute.

what

Either "node" or "edge".