collapse.paths | R Documentation |
collapse simple paths in a graph G (adjacency matrix or igraph object) returns m x m new adjacency matrix and map of old vertex id's to new ones $adj = m x m matrix #map = length n with indices 1 .. m
collapse.paths(G, verbose = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.