powered by
This function creates a directed graph with a total of `N_nodes` nodes and no arcs. The nodes are named `U1`, `U2`, etc.
create_empty_DAG(N_nodes)
A bnlearn graph object with `N_nodes` nodes and no arcs
bnlearn
An integer equal to the number of nodes
[bnlearn::empty.graph()] which this function wraps.
create_empty_DAG(6) create_empty_DAG(10)
Run the code above in your browser using DataLab