graph.data.frame | R Documentation |
graph.data.frame()
was renamed to graph_from_data_frame()
to create a more
consistent API.
graph.data.frame(d, directed = TRUE, vertices = NULL)
d |
A data frame containing a symbolic edge list in the first two
columns. Additional columns are considered as edge attributes. Since
version 0.7 this argument is coerced to a data frame with
|
directed |
Logical scalar, whether or not to create a directed graph. |
vertices |
A data frame with vertex metadata, or |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.