Description Usage Arguments Value Examples
Predecessors and successors
1 2 3 |
graph |
Input graph |
Named list of character vectors, the predecessors or the successors of each vertex.
1 2 3 | 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.