Description Usage Arguments Details Value Author(s) See Also Examples
Get posterior draws, means, and modes for source proportions output by MCMC mixing model simulations.
1 | MCMCout_mix(x, p, nsrc, ...)
|
x |
an |
... |
additional arguments passed to 'density', which determines posterior modes. |
Takes mcmc.list
objects, which are created by various
functions in packages 'R2jags' and 'coda'. Returns posterior
draws as arrays with dim(sources, observed mixtures, draws). Also
returns means and X values of modes (corresponding to highest posterior
peaks) as matrices with dim(sources, observed mixtures).
Works across all parallel MCMC chains (if running several in tandem).
a list containing arrays of 1) all posterior draws from all
parallel chains, 2) posterior means, 3) posterior modes. Only
applies to the variable that contains source proportions. For
any other monitored variables, use MCMCout
.
Mike Vlah, vlahm13@gmail.com
MCMCout
for organized output from non-mixing models.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.