Description Usage Arguments Value Examples
View source: R/delete_isolates.R
Delete isolated nodes from network
1 |
q |
an igraph object |
an igraph object containing only connected nodes
1 2 | g=igraph::graph.edgelist(cbind(a=c(1,2,3,4), b=c(3,1,1,4)),directed=TRUE)
delete_isolates(g)
|
IGRAPH 0400000 D--- 4 4 --
+ edges from 0400000:
[1] 1->3 2->1 3->1 4->4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.