DirichletProcessNode: DirichletProcessNode

Description Format Details Value Methods

Description

Represents a Dirichlet process as a single node in a DAG.

Format

Object of R6Class with methods for constructing a DAG.

Details

Derived from StochasticNode, please see base class documentation.

Value

Object of DirichletProcessNode

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 ....


sourceR documentation built on Aug. 31, 2020, 5:06 p.m.