Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ddirichletprocess_stan

Create Stan-based density function.


Description

Create Stan-based density function.

Usage

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

Measurement Invariance Assessment Using Random Effects Models and Shrinkage

v0.1.0
MIT + file LICENSE
Authors
Stephen Martin [aut, cre] (<https://orcid.org/0000-0001-8085-2390>), Philippe Rast [aut] (<https://orcid.org/0000-0003-3630-6629>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.