This is a base class representing a node in a DAG. Is not intended to be used by a regular user. Developers only here!
R6Class with methods for constructing a DAG.
a list of parent nodes
a list of child nodes
a tag name applied to the node
new(parents = list(), children = list(), name)
creates a new Node with parent nodes, child nodes, and a name.
calculate the log probability density/mass function evaluated at the current node value.
node as a child. Returns
node as a parent. Returns
remove the parent node named
remove the child node named
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.