plotMCMCDensity: Calculate and plot a posterior density based on an MCMC data...

Description Usage Arguments Details

View source: R/plotMCMCDensity.R

Description

Function to calculate and plot a posterior density based on an MCMC data vector.

Usage

1
2
3
plotMCMCDensity(data, scaleBy = 1, plotEst = TRUE, add = TRUE,
  clr = "cyan", alpha = 0.25, xlim = NULL, ylim = NULL, xlabel = "",
  label = "")

Arguments

data

- the MCMC data 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)

Details

Uses functions


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.