Plot barplot of ESS values
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
The object containing the MCMC sample - usually of class "mcmc" or "mcmc.list" |
ess |
Output of running coda::effectiveSize(data) - this is optional and can be supplied to save time |
cutoff |
The cutoff ESS value for a parameter to be considered stationary (default = 200) |
title |
Title of the plot (x-label) |
col1 |
Fill colour used for stationary parameters (ess >= cutoff) |
col2 |
Fill colour used for non-stationary parameters (ess < cutoff) |
border1 |
Border colour used for stationary parameters (ess >= cutoff) |
border2 |
Border colour used for non-stationary parameters and labels (ess < cutoff) |
labels |
Label non-stationary parameters (ess < cutoff) |
... |
Extra parameters passed to the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.