Description Usage Arguments Value Author(s) Examples
Computes the transitive closure of a dag or only of a deletion/addition of an edge
1 | transitive.closure(g, u = NULL, v = NULL)
|
g |
graph as matrix or graphNEL object |
u |
index of the parent of an edge (optional) |
v |
index of the child of an edge (optional) |
transitively closed matrix or graphNEL
Martin Pirkl
1 2 | g <- matrix(c(0,0,0,1,0,0,0,1,0), 3)
transitive.closure(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.