Generates a random DAG with N variables called x1,...,xN. For each pair of variables xi,xj with i<j, an edge i->j will be present with probability p.

1 | ```
randomDAG(N, p)
``` |

`N` |
desired number of variables. |

`p` |
connectivity parameter, a number between 0 and 1. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.