Finds all descendants of a collection of nodes, this DOES include the nodes themselves (every node is considered a descendant of itself).
descendants(this, nodes, ...)# S3 method for LatentDigraphFixedOrder
descendants(this, nodes, includeObserved = T, includeLatents = T, ...)
# S3 method for LatentDigraph
descendants(this, nodes, includeObserved = T, includeLatents = T, ...)
# S3 method for MixedGraph
descendants(this, nodes, ...)
the graph object
the nodes from which to get the descendants.
ignored.
if TRUE includes observed nodes in the returned set.
if TRUE includes latent nodes in the returned set.