Description Format Details Value Methods
Represents a Dirichlet process as a single node in a DAG.
Object of R6Class
with methods for constructing a DAG.
Derived from StochasticNode, please see base class documentation.
Object of DirichletProcessNode
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 ...
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.