Convert to bnlearn object.
Examples
adj <- UniformlySampleDAG(c('A', 'B', 'C'))
toBNLearn(adj)
#>
#> Random/Generated Bayesian network
#>
#> model:
#> [B][A|B][C|A]
#> nodes: 3
#> arcs: 2
#> undirected arcs: 0
#> directed arcs: 2
#> average markov blanket size: 1.33
#> average neighbourhood size: 1.33
#> average branching factor: 0.67
#>
#> generation algorithm: Empty
#>