get.data.frame {igraph} | R Documentation |
Creating igraph graphs from data frames or vice-versa
Description
get.data.frame()
was renamed to as_data_frame()
to create a more
consistent API.
Usage
get.data.frame(x, what = c("edges", "vertices", "both"))
Arguments
x |
An igraph object. |
what |
Character constant, whether to return info about vertices, edges, or both. The default is ‘edges’. |
[Package igraph version 2.0.3 Index]