View source: R/graph_utilities.R
dag2chol | R Documentation |
Create regression matrix matrix from DAG A DAG can be represented as a triangular matrix of regression coefficients.
dag2chol(object)
object |
A graph, either a graphNEL or an igraph object. |
g <- dag(~x2|x1 + x3|x1:x2 + x4|x3)
dag2chol(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.