Learn R Programming

dirichletprocess (version 0.4.2)

PriorFunction: Generate the prior function of the Dirichlet process

Description

Generate the prior function of the Dirichlet process

Usage

PriorFunction(dpobj)

Value

A function f(x) that represents a draw from the prior distrubtion of the Dirichlet process.

@export

Arguments

dpobj

A Dirichlet process object