randomDAG {dagitty} | R Documentation |
Generate DAG at Random
Description
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.
Usage
randomDAG(N, p)
Arguments
N |
desired number of variables. |
p |
connectivity parameter, a number between 0 and 1. |
[Package dagitty version 0.3-4 Index]