plot.fittedExp {baorista}R Documentation

Plot exponential model fitted to aoristic data

Description

Plot posterior estimates of fittedExp class objects.

Usage

## S3 method for class 'fittedExp'
plot(
  x,
  hpd = c(0.5, 0.9),
  minortick = NULL,
  ylim = NULL,
  xlab = NULL,
  ylab = "Probability Mass",
  calendar = "BP",
  col = "black",
  lwd = 1,
  lty = 2,
  col1 = "steelblue",
  col2 = "lightblue",
  pch = 20,
  plot.legend = TRUE,
  legend.arg = NULL,
  ...
)

Arguments

x

An fittedExp class object

hpd

A vector with two values defining the highest posterior density interval to display. Default is 0.5 and 0.9.

minortick

Interval for minor ticks in the x-axis label. Default is estimated based on timescale.

ylim

Limits of the y-axis. Default estimated from posterior ranges.

xlab

Label for the x-axis. Default based on calendar.

ylab

Label for the y-axis. Default is "Probability Mass".

calendar

Either 'BP' or 'BCAD'. Indicate whether the x-axis should be displayed in BP or BC/AD. Default is 'BP'.

col

Color of posterior mean. Default is black.

lwd

Line width posterior mean. Default is 1.

lty

Line type posterior mean. Default is 2.

col1

Fill color for the first (inner) HPD interval. Default is 'steelblue'.

col2

Fill color for the second (outer) HPD interval. Default is 'lightblue'.

pch

Point symbol used to display mean posteriors. Default is 20.

plot.legend

Logical indicating whether to display a legend or not (default is TRUE).

legend.arg

List containing arguments to be directed to the legend() function.

...

Additional arguments affecting the plot.

Value

No return value (plot function)


[Package baorista version 0.2.0 Index]