descendants: Get descendants of a collection of observed nodes

Description Usage Arguments

Description

Finds all descendants of a collection of nodes, this DOES include the nodes themselves (every node is considered a descendant of itself).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
descendants(this, nodes, ...)

## S3 method for class 'LatentDigraphFixedOrder'
descendants(this, nodes,
  includeObserved = T, includeLatents = T, ...)

## S3 method for class 'LatentDigraph'
descendants(this, nodes, includeObserved = T,
  includeLatents = T, ...)

## S3 method for class 'MixedGraph'
descendants(this, nodes, ...)

Arguments

this

the graph object

nodes

the nodes from which to get the descendants.

includeObserved

if TRUE includes observed nodes in the returned set.

includeLatents

if TRUE includes latent nodes in the returned set.


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