DirichletProcessNode: DirichletProcessNode
Description
Represents a Dirichlet process as a single node in a DAG.Usage
DirichletProcessNode
Format
Object of R6Class
with methods for constructing a DAG.Methods
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 ...
.
Details
Derived from StochasticNode, please see base class documentation.