Description Usage Arguments Value Examples
Input parameters about MCMC sampler
1 2 3 4 5 6 7 8 9 10 |
MCMCpackage |
A string indicating which packages will be used. Currently, tested for rjags. |
prior |
A named list of vectors. First element, 'mean' a vector of mean values of logα and β. See details. |
init.list |
A named list. See |
n.sample |
A integer or numeric value. The number of MCMC samples retains. See |
n.burnin |
A integer or numeric value. The number of MCMC samples burned. See |
n.adapt |
A integer or numeric value. See |
n.thin |
A integer or numeric value. See |
n.chain |
A integer or numeric value. See |
A named list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
Bayes.Info <- BayesInfo(MCMCpackage = "rjags",
prior = list(mean = list(c(-1.7346, 0)),
std = list(c(2, 1)),
corr = list(0)),
init.list = list(list(paras1 = c(-3, 0), .RNG.seed = 1, .RNG.name="base::Wichmann-Hill"),
list(paras1 = c(-3, 0), .RNG.seed = 2, .RNG.name="base::Wichmann-Hill")),
n.sample = 10000,
n.burn = 2000,
n.adapt = 1000,
n.chain = 2,
n.thin = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.