Rdocumentation
powered by
Learn R Programming
dagitty (version 0.1-9)
randomDAG: 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 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.