Represents a Dirichlet process as a single node in a DAG.
Object of DirichletProcessNode
Object of R6Class with methods for constructing a DAG.
new(theta, s, alpha, base, ...)Create a DirichletProcessNode with value vector
theta (length > 1), initial grouping vector s, concentration parameter alpha, and
base distribution base. Base should be a distribution function (dnorm, dgamma, etc) whose parameters
are specified in ....
Derived from StochasticNode, please see base class documentation.