Depth is defined as the length of the longest path from any root node. Root nodes have depth 0.
Arguments
- dag
Named list as described in
validate_dag().
Depth is defined as the length of the longest path from any root node. Root nodes have depth 0.
Named list as described in validate_dag().