R/plot_postPlot.R

Defines functions postPlot

Documented in postPlot

postPlot <- function(object, params, layout=c(3,3),
    center = c("mean", "median", "mode"), CRImass=0.95,
    compVal = NULL, ROPE = NULL, HDItextPlace = 0.7,
    showCurve = FALSE, shadeHDI = NULL, ...) {

  dots <- list(...)
  if(is.null(dots$main))
    dots$main <- deparse(substitute(object))
  center <- match.arg(center)

  object <- mcmcOutput(object)
  plot.mcmcOutput(object, params=params, layout=layout,
    center = center, CRImass=CRImass,
    compVal = compVal, ROPE = ROPE, HDItextPlace = HDItextPlace,
    showCurve = showCurve, shadeHDI = shadeHDI, dots)
}

Try the mcmcOutput package in your browser

Any scripts or data that you put into this service are public.

mcmcOutput documentation built on Nov. 18, 2022, 1:08 a.m.