is.connected | R Documentation |
Tests the connectivity of a graph by performing a Depth First Search (DFS) from a random node.
is.connected(Adj)
Adj |
Adjacency matrix. |
Intended as internal function.
Return TRUE if network is connected and FALSE if not connected.If the network is directed, then this function checks if the network is strongly connected.
Andrew Kramer
Alexander Mercier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.