Learn R Programming

R2GUESS (version 2.0)

plot.ESS: Provides diagnostic plots to assess the convergence of the MCMC procedure along the run

Description

The plot.ESS function provides a set of four plots summarising the behaviour of all chains along the Evolutionary Monte Carlo run. These plots are used to assess the convergence of the algorithm and comprise: (i)- the history plot of the shrinkage factor g, (ii)- the history plot of the model size in each chain, (iii)- the history plot of the log posterior in each chain, and (iv)- the history plot of each chain's temperature (during the burn-in only, as temperatures are fixed at the end of the burn-in).

Usage

# S3 method for ESS
plot (x, ...)

Arguments

x

an object of class ESS.

...

additional arguments: range.SF range value for the shrinkage factor plot (g); range.MS range value for the model size plot; range.LP range value for the log posterior plot.

Examples

Run this code
# NOT RUN {
# load an ESS object
modelY_Hopx <- example.as.ESS.object()
plot(modelY_Hopx)
# }

Run the code above in your browser using DataLab