R/get_dags.R
GetEmptyDAG.Rd
Get an empty DAG given a set of nodes.
GetEmptyDAG(nodes)
A vector of node names.
An adjacency matrix with elements designated as (parent, child).
GetEmptyDAG(LETTERS[1:3]) #> A B C #> A 0 0 0 #> B 0 0 0 #> C 0 0 0