Description Usage Arguments Value Examples
View source: R/graph.utility.R
This function returns a matrix with two columns and as many rows as there are edges. The entries of the first columns are the index of the node the edge comes from (i.e. children nodes), the entries of the second columns indicate the index of node the edge is to (i.e. parents nodes). Referring to a DAG this matrix defines a partial order.
1 |
g |
a graph of class |
a constraints matrix w.r.t the graph g
.
1 2 | data(graph);
m <- constraints.matrix(g);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.