| bn.to.igraph | R Documentation |
Converts Bayesian network structure based on package "bnlearn" and "bnviewer" to model based on package "igraph".
bn.to.igraph(bayesian.network)
bayesian.network |
Bayesian Network structure. |
See online documentation https://robsonfernandes.net/bnviewer/
library(bnlearn)
library(bnviewer)
bn.alarm = hc(alarm)
g = bn.to.igraph(bn.alarm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.