tracePlots | R Documentation |
This function draws traceplots of selected parameters from the MCMC
simulations ran using NMixMCMC
or
GLMM_MCMC
functions.
tracePlots(x, ...)
## Default S3 method:
tracePlots(x, ...)
## S3 method for class 'NMixMCMC'
tracePlots(x, param=c("Emix", "SDmix", "Cormix", "K", "w", "mu", "sd", "gammaInv"),
relabel=FALSE, order,
auto.layout=TRUE, xlab="Iteration", ylab, col="slateblue", main="", ...)
## S3 method for class 'NMixMCMClist'
tracePlots(x, param=c("Emix", "SDmix", "Cormix", "K", "w", "mu", "sd", "gammaInv"),
relabel=FALSE,
auto.layout=TRUE, xlab="Iteration", ylab, col=c("blue3", "red3"), main="", ...)
## S3 method for class 'GLMM_MCMC'
tracePlots(x, param=c("Deviance", "Cond.Deviance",
"alpha", "Eb", "SDb", "Corb", "sigma_eps",
"w_b", "mu_b", "sd_b", "gammaInv_b", "gammaInv_eps"),
relabel=FALSE, order,
auto.layout=TRUE, xlab="Iteration", ylab, col="slateblue", main="", ...)
## S3 method for class 'GLMM_MCMClist'
tracePlots(x, param=c("Deviance", "Cond.Deviance",
"alpha", "Eb", "SDb", "Corb", "sigma_eps",
"w_b", "mu_b", "sd_b", "gammaInv_b", "gammaInv_eps"),
relabel=FALSE,
auto.layout=TRUE, xlab="Iteration", ylab, col=c("blue3", "red3"), main="", ...)
x |
an object of appropriate class. |
param |
a character string which specifies which sort of parameters is to be plotted.
|
relabel |
logical value. It indicates whether the chains with
|
order |
a matrix with |
auto.layout |
logical value. If |
xlab , ylab , col , main |
arguments passed to |
... |
other arguments passed to |
invisible(x)
Arnošt Komárek arnost.komarek@mff.cuni.cz
NMixMCMC
, GLMM_MCMC
, NMixRelabel
, traceplot
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.