powered by
Delete a node or a set of nodes from a graph
removeNode(g, name, trans = FALSE)
The mully graph, with the nodes deleted.
The input graph.
The name or the list of names of the nodes to be deleted.
A boolean whether to insert transitive edges or not
g=mully::demo() removeNode(g,"dr1",trans=TRUE)
Run the code above in your browser using DataLab