allDescendants: Get descendants of all nodes.

Description Usage Arguments Value

View source: R/graph-ops.R

Description

Note that the descendants of each node includes that node!

Usage

1
  allDescendants(currentNetwork)

Arguments

currentNetwork

A list, containing in the first position the starting bn, and in the second position the routes matrix for that BN.

Value

A list, each componentof which contains a list of the descendants of the corresponding node of the supplied BN.


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.