children: All children of a collection of nodes.

View source: R/LatentDigraph.R

childrenR Documentation

All children of a collection of nodes.

Description

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

Usage

children(this, nodes, ...)

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

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

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

Arguments

this

the graph object.

nodes

nodes the nodes of which to find the children

...

ignored.

includeObserved

if TRUE includes observed nodes in the returned set.

includeLatents

if TRUE includes latent nodes in the returned set.

Value

the observed children


SEMID documentation built on July 26, 2023, 5:40 p.m.