parents: All parents of a collection of nodes.

Description Usage Arguments Value

Description

Returns all parents of the collection (does not necessarily include the input nodes themselves unless they are parents of one another).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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, ...)

Arguments

this

the graph object.

nodes

nodes the nodes of which to find the parents.

includeObserved

if TRUE includes observed nodes in the returned set.

includeLatents

if TRUE includes latent nodes in the returned set.

Value

the observed parents.


Lucaweihs/SEMID documentation built on June 3, 2019, 2:13 a.m.