R/abstract-graph.R
node_degrees.Rd
This function is only called nodes that have been check()
'd. It is
safe to assume that nodes
is non-empty. (TODO: check this!)
node_degrees(graph, nodes)
graph | A graph object. |
---|---|
nodes | The name(s) of node(s) in |
A data.frame()
with one row for every node in nodes
and
two columns: in_degree
and out_degree
.frame with one