removeNode | R Documentation |
Delete a node or a set of nodes from a graph
removeNode(g, name, trans = FALSE)
g |
The input graph. |
name |
The name or the list of names of the nodes to be deleted. |
trans |
A boolean whether to insert transitive edges or not |
The mully graph, with the nodes deleted.
g=mully::demo() removeNode(g,"dr1",trans=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.