plot.mcmcdiag: plot.mcmcdiag function

View source: R/lgcpMethods.R

plot.mcmcdiagR Documentation

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

## 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

See Also

mcmctrace.lgcpPredict, mcmcpars,


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.