marginalPlotDensity: Plot marginals as densities

View source: R/plotMarginals.R

marginalPlotDensityR Documentation

Plot marginals as densities

Description

Plot marginals as densities

Usage

marginalPlotDensity(
  posteriorMat,
  priorMat = NULL,
  xrange = NULL,
  col = c("#FC006299", "#00BBAA30"),
  singlePanel = TRUE,
  ...
)

Arguments

posteriorMat

matrix with samples as rows and parameters as columns

priorMat

matrix (optional) with samples as rows and parameters as columns

xrange

vector or matrix (optional), determining the plotting range, with parameters as columns and min, max as rows

col

vector of colors for posterior and

singlePanel

logical, determining whether the parameter should be plotted in a single panel or each in its own panel

Author(s)

Tankred Ott


BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.