View source: R/edgelist_to_tbl.R
Converts edgelist (as stored in data) to a tibble with colums ~from, ~to (as required by tidygraph).
1 | edgelist_to_tbl(edgelist)
|
edgelist |
- single element character vector of edges: abcd means there's an edge from a to b, and from c to d. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.