R/get_dags.R
UniformlySampleDAG.Rd
Uniformly sample DAG
UniformlySampleDAG(nodes)
A vector of node names.
Adjacency matrix with elements designated as (parent, child).
UniformlySampleDAG(LETTERS[1:3]) #> A B C #> A 0 1 0 #> B 0 0 0 #> C 0 1 0