R: Trace plot of MCMC output

traceplot {coda} | R Documentation

## Trace plot of MCMC output

### Description

Displays a plot of iterations vs. sampled values for each variable in the chain, with a separate plot per variable.

### Usage

    traceplot(x, smooth = FALSE,
           col = 1:6, type = "l", xlab = "Iterations", ylab = "", ...)

### Arguments

`x` | An `mcmc` or `mcmc.list` object
`smooth` | draw smooth line through trace plot
`col` | graphical parameter (see `par`)
`type` | graphical parameter (see `plot`)
`xlab` | graphical parameter (see `plot`)
`ylab` | graphical parameter (see `plot`)
`...` | further graphical parameters

### Note

You can call this function directly, but it is more usually called by the `plot.mcmc` function.

### See Also

`densplot`, `plot.mcmc`.

[Package coda version 0.19-1 Index]