Skip to contents

Test whether one node is an ancestor of another

Usage

is_ancestor(dag, source, target)

Arguments

dag

Named list as described in validate_dag().

source

Character scalar - the potential ancestor.

target

Character scalar - the potential descendant.

Value

Logical scalar.