Converts an igraph to GNAR network
Converts an 'igraph' to the GNARnet form for use as an input to GNAR functions.
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.
#Convert fiveNet to igraph and back again igraphtoGNAR(GNARtoigraph(fiveNet))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.