NMixMCMCwrapper {mixAK} | R Documentation |
Wrapper to the NMixMCMC main simulation.
Description
This is wrapper to the NMixMCMC main simulation which allows vectorized evaluation and possibly parallel computation.
THIS FUNCTION IS NOT TO BE CALLED BY ORDINARY USERS.
Usage
NMixMCMCwrapper(chain = 1,
scale, prior, inits, Cpar, RJMCMC, CRJMCMC,
actionAll, nMCMC, keep.chains, PED,
dens.zero, lx_w)
Arguments
chain |
identification of the chain sampled in a particular call of this function, usually number like 1, 2, ... |
Cpar |
a list with the following components
|
scale |
a list specifying how to scale the data before running
MCMC. See argument |
prior |
a list specifying prior hyperparameters. See argument
|
inits |
a list of length at least |
RJMCMC |
a list specifying parameters for RJ-MCMC.
See argument |
CRJMCMC |
a numeric vector with parameters for RJ-MCMC. |
actionAll |
argument for underlying C++ function. |
nMCMC |
vector giving the length of MCMC etc. |
keep.chains |
logical. If |
PED |
a logical value which indicates whether the penalized
expected deviance (see Plummer, 2008 for more details)
will be computed (which requires two parallel
chains). Even if |
dens.zero |
small number (1e-300) to determine whether the
contribution to the deviance ( |
Value
A list having almost the same components as object returned by
NMixMCMC
function.
Author(s)
Arnošt Komárek arnost.komarek@mff.cuni.cz