randomDAG: Generate DAG at Random

Description Usage Arguments

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

1
randomDAG(N, p)

Arguments

N

desired number of variables.

p

connectivity parameter, a number between 0 and 1.


dagitty documentation built on May 2, 2019, 5:53 p.m.