This function converts a bnlearn format dag to its adjacency matrix. The dag can be either directed or partially directed.
1 | dag2matrix(dag)
|
dag |
A dag or partial dag in bnlearn format. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.