View source: R/class-network.R
| get_edges | R Documentation |
Extracts the edges data frame from a cograph_network object.
get_edges(x)
x |
A cograph_network object. |
A data frame with columns: from, to, weight.
as_cograph, n_edges, get_nodes
mat <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3)
net <- as_cograph(mat)
get_edges(net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.