vertex_attr_dt: Create a data table with graph vertex measures
Description
This is just a helper function that creates a data.table in which each
row is a vertex and each column is a different network measure (degree,
centrality, etc.). It is partly a wrapper for
as_data_frame.
Usage
vertex_attr_dt(g, group = NULL)
Arguments
g
An igraph graph object
group
A character string indicating group membership (default:
NULL)