Description Usage Arguments Value Author(s)
Create Stan-based density function.
1 | ddirichletprocess_stan(mcmc, mode = "est", K = 200, model = "dpHNormal", ...)
|
mcmc |
MCMC samples. |
mode |
posterior or est. |
K |
Number of DP components (Default: 200) |
model |
dpHNormal, dpExp, dpGauss, or dpWeibull (Default: dpHNormal). |
... |
Not used. |
Function returning vector (if est) or matrix (if posterior)
Stephen Martin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.