Trace plot of specified parameters against iteration number. Good sampling is indicated by convergence and nice mixing of chains.
1 2 | trace_plot(data, thin = 2000, pars = NULL, xlab = "iterations",
ylab = "standardized value", scales = "free", ...)
|
data |
A single data.frame or list of data.frames |
thin |
Numeric value (default =2000) indicating number of samples to
include in plot. Chains are thinned to specified length using |
pars |
List of parameters to include |
xlab |
label for xaxis |
ylab |
label for yaxis |
scales |
By default set to "free", indicating each subplot will have different scale on yaxis. Set to "fixed" to enforce similar axes over all plots. |
... |
Extra augments for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.