Learn R Programming

sourceR (version 1.0.1)

GammaNode: GammaNode

Description

Represents a Gamma distribution node in a DAG. Requires parent nodes for shape and rate respectively as specified in dgamma.

Usage

GammaNode

Arguments

Value

Object of GammaNode

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.