removeNode {mully} | R Documentation |
Delete a node or a set of nodes from a graph
Description
Delete a node or a set of nodes from a graph
Usage
removeNode(g, name, trans = FALSE)
Arguments
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 |
Value
The mully graph, with the nodes deleted.
Examples
g=mully::demo()
removeNode(g,"dr1",trans=TRUE)
[Package mully version 2.1.38 Index]