Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, 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.


dagitty

Graphical Analysis of Structural Causal Models

v0.3-1
GPL-2
Authors
Johannes Textor, Benito van der Zander, Ankur Ankan
Initial release
2021-01-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.