Learn R Programming

lgcp (version 1.0)

plot.mcmcdiag: plot...

Description

plot.mcmcdiag function

Usage

## S3 method for class 'mcmcdiag':
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

Details

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.

See Also

mcmctrace.lgcpPredict, mcmcpars,