View source: R/LatentDigraph.R
parents | R Documentation |
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 class 'LatentDigraphFixedOrder'
parents(this, nodes, includeObserved = T, includeLatents = T, ...)
## S3 method for class 'LatentDigraph'
parents(this, nodes, includeObserved = T, includeLatents = T, ...)
## S3 method for class 'MixedGraph'
parents(this, nodes, ...)
this |
the graph object. |
nodes |
nodes the nodes of which to find the parents. |
... |
ignored. |
includeObserved |
if TRUE includes observed nodes in the returned set. |
includeLatents |
if TRUE includes latent nodes in the returned set. |
the observed parents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.