Description Usage Arguments Details
View source: R/plotMCMCResults.forMatrix.R
Function to calculate and plot posterior densities based on a MCMC data matrix.
1 2 3 4 |
data |
- the MCMC data matrix from which to estimate the posterior densities. |
scaleBy |
- factor to scale data by |
doPlot |
- flag (T/F) to plot the results |
plotEst |
- flag (T/F) to plot the MLE estimate (assumed to be 1st value) |
add |
- flag (T/F) to add to existing plot (creates new plot if FALSE) |
colorscale |
- color scale to use for the density plot |
alpha |
- transparency value to apply to the colorscale |
xlim |
- x axis limits (if add=FALSE) |
ylim |
- y axis limits (if add=FALSE) |
xlabel |
- label for x axis (if add=FALSE) |
label |
- label for plot (if add=FALSE) |
Uses functions
wtsUtilities::createColorScale(...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.