Description Usage Arguments Examples
View source: R/fortify.adjmat.R
Function for converting a network adjacency matrix into the correct format for use with geomnet
1 2 |
model |
An adjacency matrix of class |
data |
not used in this function |
... |
not used in this function |
1 2 3 4 5 | library(ggCompNet)
data(emon, package = "network")
adjmat <- geomnet::as.adjmat(network::as.matrix.network.adjacency(emon$MtSi))
str(adjmat)
ggCompNet:::fortify.adjmat(adjmat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.