Learn R Programming

dagitty (version 0.3-4)

completeDAG: Generate Complete DAG

Description

Generates a complete DAG on the given variable names. The order in which the variables are given corresponds to the topological ordering of the DAG. Returns a named list.

Usage

completeDAG(x)

Arguments

x

variable names. Can also be a positive integer, in which case the variables will be called x1,...,xN.