dmbc_fit_list_to_mcmc.list | R Documentation |
dmbc_fit_list
object to an object of class
mcmc.list
.dmbc_fit_list_to_mcmc.list
converts an object of class
dmbc_fit_list
to an object with class mcmc.list
.
dmbc_fit_list_to_mcmc.list(res, include.burnin = FALSE, verbose = TRUE)
res |
An object of type |
include.burnin |
A logical scalar. If |
verbose |
A logical scalar. If |
An object of type mcmc.list
.
Sergio Venturini sergio.venturini@unicatt.it
dmbc()
for for fitting a DMBC model;
dmbc_fit_list-class
;
mcmc.list
.
## Not run:
data(simdiss, package = "dmbc")
G <- 3
p <- 2
prm.prop <- list(z = 1.5, alpha = .75)
burnin <- 2000
nsim <- 1000
seed <- 2301
set.seed(seed)
control <- list(burnin = burnin, nsim = nsim, z.prop = prm.prop[["z"]],
alpha.prop = prm.prop[["alpha"]], nchains = 2, verbose = TRUE)
sim.dmbc <- dmbc(simdiss, p, G, control)
sim.mcmc <- dmbc_fit_list_to_mcmc.list(sim.dmbc, TRUE)
plot(sim.mcmc)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.