| extract_edges | R Documentation |
Returns a one-row-per-edge data.frame with node labels, for any
netobject / cograph_network (or a gvar_result constituent).
extract_edges(model, sort_by = "weight", include_self = FALSE)
model |
A |
sort_by |
Either |
include_self |
Keep autoregressive self-loops? Default |
A data.frame with columns from, to, weight.
W <- matrix(c(0, 0.3, -0.2, 0), 2, 2,
dimnames = list(c("A", "B"), c("A", "B")))
x <- structure(list(weights = W, method = "relative", directed = TRUE),
class = "cograph_network")
extract_edges(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.