all_ancestors returns a list of all_ancestors of the specified node. time_ordering attempts to find a time_ordering for the variables.

all_ancestors(node_name, npsem)

time_ordering(npsem)

Arguments

node_name

the node to search for ancestors of

npsem

the NPSEM, defined by a list of tmle3_Node objects.