Skip to contents

Get an empty DAG given a set of nodes.

Usage

GetEmptyDAG(nodes)

Arguments

nodes

A vector of node names.

Value

An adjacency matrix with elements designated as (parent, child).

Examples

GetEmptyDAG(LETTERS[1:3])
#>   A B C
#> A 0 0 0
#> B 0 0 0
#> C 0 0 0