ddirichletprocess_spike: Create Stan-based spike-mixture DP based density estimation...

Description Usage Arguments Value Author(s)

View source: R/density.R

Description

Create Stan-based spike-mixture DP based density estimation function.

Usage

1
ddirichletprocess_spike(mcmc, mode = "est", K = 200, spike_scale = 1e-05, ...)

Arguments

mcmc

MCMC samples.

mode

posterior or est.

K

Number of DP components (Default: 200)

spike_scale

Numeric (Default: .00001). The scale of the half-normal spike.

...

Not used.

Value

Function.

Author(s)

Stephen R Martin


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