Learn R Programming

lgcp (version 1.3-14)

plot.mcmcdiag: plot.mcmcdiag function

Description

The command plot(trace(lg)), where lg is an object of class lgcpPredict will plot the mcmc traces of a subset of the cells, provided they have been stored, see mcmpars.

Usage

"plot"(x, idx = 1:dim(x$trace)[2], ...)

Arguments

x
an object of class mcmcdiag
idx
vector of chain indices to plot, default plots all chains
...
additional arguments passed to plot

Value

plots the saved MCMC chains

See Also

mcmctrace.lgcpPredict, mcmcpars,