R/dag.R
ancestors.Rd
Ancestors of a node
ancestors(dag, node)
Named list as described in validate_dag().
validate_dag()
Character scalar - the node to query.
Character vector of all nodes with a directed path to node (i.e. the node's causal ancestors).
node