Description
Represents a Gamma distribution node in a DAG. Requires parent nodes for shape and rate respectively as
specified in dgamma.Format
Object of R6Class
with methods for constructing a DAG.Methods
new(data, shape=1, rate=1)
- Create a Gamma node with data
data
and Nodes
shape
and rate
as specified in dgamma.
Details
Derived from StochasticNode, please see base class documentation.