Description Usage Arguments Examples
Plot MCMC traceplots and density plots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
samples |
Array of MCMC samples, or a list of samples from multiple chains in which case the first chain is used |
var |
Parameter names to plot |
ind |
Indices of MCMC samples to plot |
burnin |
Number of initial MCMC samples to discard (default: 0) |
scale |
Logical, whether to normalize each posterior chain |
line |
Numeric vector of true parameter values for adding lines to plots |
width |
Width of the plot |
height |
Height of the plot |
legend |
Logical, whether to include a legend of parameter names |
legend.location |
Location of legend |
traceplot |
Logical, whether to include traceplots (default: TRUE) |
densityplot |
Logaical, whether to include density plots (default: TRUE) |
file |
Optional filename to save figure as a file |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.