plotTrace {bayMDS}R Documentation

trace plots of MCMC samples

Description

plot trace plots of MCMC samples of parameters for visual inspection of MCMC convergence

Usage

plotTrace(out, para = c("del"), linecolor = "blue", ...)

Arguments

out

the output of the function bmdsMCMC

para

names of the parameters for trace plots. It should be any subvector of c("del","sigma", "lambda") (default=c("del"))

linecolor

line color. The default color is blue.

...

arguments to be passed to methods

Details

Notes

Value

trace plots of delta, sigma and lambda

Examples

data(cityDIST)
result <- bmdsMCMC(cityDIST,p=3,nwarm=500,niter=3000)
plotTrace(result,para=c("del","sigma", "lambda"))

[Package bayMDS version 1.6 Index]