Description Usage Arguments Details Examples
Remove the existence of particular nodes from the graph.
1 | remove_nodes(g, i, fuse = FALSE, verb = FALSE)
|
g |
sg object |
i |
indices of nodes for which to remove the edges |
fuse |
Should the neighours of removed nodes be connected? |
verb |
verbose? |
Basically, just clear the neighbourhood of selected indices. If fuse=TRUE, connect neighbours together (excluding i's). Should work over several remove nodes along a path.
Note: g should be symmetric. use sg2sym to force symmetry, it is not checked.
Warning: In development.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.