Learn R Programming

baorista (version 0.2.1)

plot.probMat: Plot Aoristic Sums

Description

Plot summed probabilities of aoristic weights.

Usage

# S3 method for probMat
plot(
  x,
  xlab = NULL,
  ylab = NULL,
  type = "asum",
  calendar = "BP",
  lwd = 1,
  col = 1,
  minortick = NULL,
  add = FALSE,
  ...
)

Value

No return value (plot function)

Arguments

x

probMat class object generated using the generateProbMat().

xlab

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

ylab

Label for the y-axis. Default is 'Summed Probability' (if type='asum') or 'Probability Mass' (when type='dens').

type

Either 'asum' for Aoristic Sum, 'dens' for probability mass. Default is 'asum'.

calendar

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

lwd

Line width. Default is 1.

col

Line col. Default is 'black'

minortick

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

add

if set to TRUE adds the line and point graph on existing plot.

...

Additional arguments affecting the plot.