ScoreDAG | R Documentation |
Score DAG.
ScoreDAG(dag, scorer)
dag |
Adjacency matrix of (parent, child) entries with 1 denoting an edge and 0 otherwise. |
scorer |
Scorer object. |
Log of DAG score.
dag <- UniformlySampleDAG(names(bnlearn::asia))
scorer <- CreateScorer(data = bnlearn::asia)
ScoreDAG(dag, scorer)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.