Description Usage Arguments Details
View source: R/plotMCMCResults.forVector.R
Function to calculate and plot a posterior density based on a MCMC data vector.
1 2 3 |
data |
- the MCMC data vector from which to estimate the posterior density. |
scaleBy |
- factor to scale data by |
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) |
clr |
- color for density plot |
alpha |
- transparency value to apply to clr |
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::addTransparency(...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.