plot.post_sim_list {deBInfer}R Documentation

Plot posterior trajectory

Description

Plots the inference results from a debinfer_result object

Usage

## S3 method for class 'post_sim_list'
plot(
  x,
  plot.type = "medianHDI",
  col = c("red", "darkgrey"),
  lty = c(1, 2),
  auto.layout = TRUE,
  panel.first = NULL,
  ...
)

Arguments

x

a post_sim or post_sim_list object

plot.type

character, which type of plot. Options are "ensemble" and "medianHDI".

col

color, for plot.type = "medianHDI" the first element is used for the median, the second for the HDI

lty

line type, for plot.type = "medianHDI" the first element is used for the median, the second for the HDI

auto.layout

logical, should the layout for plot.type = "medianHDI" be determined automatically?

panel.first

an expression to be evaluated after the plot axes are set up but before any plotting takes place. This can be useful for adding data points.

...

further arguments to methods


[Package deBInfer version 0.4.4 Index]