Learn R Programming

dagR (version 1.2.1)

assoc.exists: Check if association between two DAG nodes exists.

Description

Checks if an association between two DAG nodes already exists, i.e. does not need to be introduced when adjusting for a shared child etc. Internally called by dag.adjustment.

Usage

assoc.exists(dag, a, b)

Value

A boolean indicating whether or not an association between first node and second node already exists.

Arguments

dag

The DAG to be dealt with.

a

First node.

b

Second node.

Author

Lutz P Breitling <l.breitling@posteo.de>