model_directed_graph | R Documentation |
Create a directed graph model
model_directed_graph(edgelist, is_bipartite, color, aggregate_duplicate = TRUE)
edgelist |
a 2-column data.table containing named columns 'from' and 'to' in any order. |
is_bipartite |
boolean specifying if network is bipartite: TRUE or FALSE |
color |
a character vector of length 1 or 2 specifying the hexacolor |
aggregate_duplicate |
If duplicated rows are encoutered, define a weight column which counts them |
a named list list(nodes,edgelist).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.