assoc.exists {dagR}R Documentation

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)

Arguments

dag

The DAG to be dealt with.

a

First node.

b

Second node.

Value

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

Author(s)

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


[Package dagR version 1.2.1 Index]