Learn R Programming

sourceR (version 1.1.0)

StochasticNode: StochasticNode

Description

Represents a stochastic node in a DAG

Arguments

Value

Object of StochasticNode

Format

Object of R6Class with methods for constructing a DAG.

Fields

data

contains the node's data

Methods

logPosterior()

return the value of the log posterior distribution of the node.

getData()

returns the node's data.

Details

Derived from Node, please see base class documentation.