Description Usage Arguments Details Value Examples
Converts an 'igraph' to the GNARnet
form for use as an input to GNAR functions.
1 | igraphtoGNAR(ig)
|
ig |
an 'igraph' object. |
The values in the $dist
list are the reciprocal of the values from the weighted adjacency matrix.
igraphtoGNAR
returns a GNARnet
: a list with elements $edges
and $dist
.
1 2 | #Convert fiveNet to igraph and back again
igraphtoGNAR(GNARtoigraph(fiveNet))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.