Description Usage Arguments Value See Also
Plots the posterior draws of a specified parameter by MCMC iteration with options for visual differentiation of separate chains.
1 2 | plot_trace(postob, vname, pscale = "original", stack = FALSE,
colset = "color")
|
postob |
An array containing posterior draws from a |
vname |
Name of variable to plot. Name must correspond to a dimname in the array. |
pscale |
Plotting scale. Options are 'original', 'log', or 'inv' (inverse). |
stack |
Indicator to plot chains separately and stack the plots. |
colset |
Color scheme for plotting traces by chain. Schemes 'color' and 'gray' will produce separate colors or gray shades for each chain, and scheme 'black' will make all chain traces black. |
Returns a plot
object
stanfit
, extract
, as.array.stanfit
, spmrf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.