Skip to contents

Descendants of a node

Usage

descendants(dag, node)

Arguments

dag

Named list as described in validate_dag().

node

Character scalar - the node to query.

Value

Character vector of all nodes reachable from node following directed edges (i.e. the node's causal descendants).