Description Usage Arguments Value Examples
An alternative to the scale-free DAG generating Barabasi algorithm in igraph.. This function currently only outputs one leaf node.
1 | sim_DAG(n, method = "ic-dag")
|
n |
Number of nodes |
method |
the algorithm used in simulation. The default is Ide's and Cozman's DAG algorithm in the bnlearn package, which generates DAGs with more connectivity. See the random.graph function in bnlearn for details. |
An igraph object
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.