Represents a Dirichlet process as a single node in a DAG.
R6Class with methods for constructing a DAG.
Derived from StochasticNode, please see base class documentation.
new(theta, s, alpha, base, ...)
Create a DirichletProcessNode with value vector
theta (length > 1), initial grouping vector
s, concentration parameter
base. Base should be a distribution function (dnorm, dgamma, etc) whose parameters
are specified in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.