ddirichletprocess_stan: Create Stan-based density function.

Description Usage Arguments Value Author(s)

View source: R/density.R

Description

Create Stan-based density function.

Usage

1
ddirichletprocess_stan(mcmc, mode = "est", K = 200, model = "dpHNormal", ...)

Arguments

mcmc

MCMC samples.

mode

posterior or est.

K

Number of DP components (Default: 200)

model

dpHNormal, dpExp, dpGauss, or dpWeibull (Default: dpHNormal).

...

Not used.

Value

Function returning vector (if est) or matrix (if posterior)

Author(s)

Stephen Martin


MIRES documentation built on Feb. 22, 2021, 5:10 p.m.