Returns all parents of the collection (does not necessarily include the input nodes themselves unless they are parents of one another).
parents(this, nodes, ...)# S3 method for LatentDigraphFixedOrder
parents(this, nodes, includeObserved = T, includeLatents = T, ...)
# S3 method for LatentDigraph
parents(this, nodes, includeObserved = T, includeLatents = T, ...)
# S3 method for MixedGraph
parents(this, nodes, ...)
the observed parents.
the graph object.
nodes the nodes of which to find the parents.
ignored.
if TRUE includes observed nodes in the returned set.
if TRUE includes latent nodes in the returned set.