View source: R/to_data.frame.R
to_data.frame | R Documentation |
popgraph
to data.frame
based upon node attributesThis is a quick conversion of vertex attributes to a data.frame
, essentially
the reverse operation as decorate_graph
function.
to_data.frame(x, mode = c("nodes", "edges")[1], as.named = TRUE, ...)
x |
The |
mode |
An indication of what to return, a |
as.named |
A flag (default |
... |
Ignored (generally). |
An object of type data.frame
with all the node attributes.
Rodney J. Dyer rjdyer@vcu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.