predecessors | R Documentation |
Predecessors and successors
predecessors(graph)
successors(graph)
graph |
Input graph |
Named list of character vectors, the predecessors or the successors of each vertex.
G <- graph(list(A = c("B", "C"), B = "C", C = "A"))
predecessors(G)
successors(G)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.