mig.coda.list.mcmc {bayesMig} | R Documentation |
Conversion to coda-formatted objects
Description
The functions convert MCMC traces (simulated using run.mig.mcmc
) into
objects that can be used with the coda package.
Usage
mig.coda.list.mcmc(
mcmc.list = NULL,
country = NULL,
chain.ids = NULL,
sim.dir = NULL,
par.names = NULL,
par.names.cs = NULL,
low.memory = FALSE,
...
)
Arguments
mcmc.list |
A list of objects of class |
country |
Location name or code. Used in connection with the |
chain.ids |
Vector of chain identifiers. By default, all chains available in the |
sim.dir |
Directory with the MCMC simulation results. Only used if |
par.names |
Names of country-independent parameters to be included. Default names are
those returned by the |
par.names.cs |
Names of country-specific parameters to be included. The argument |
low.memory |
Logical indicating if the function should run in a memory-efficient mode. |
... |
Additional arguments passed to the coda's |
Value
Returns an object of class mcmc.list
defined in the coda package.