Plot OxCal Output
# S4 method for OxCalOutput,missing
plot(
x,
likelihood = TRUE,
posterior = TRUE,
warnings = TRUE,
col.likelihood = "grey",
col.posterior = "blue",
lty.likelihood = "solid",
lty.posterior = "dashed",
main = NULL,
sub = NULL,
ann = graphics::par("ann"),
axes = TRUE,
frame.plot = FALSE,
panel.first = NULL,
panel.last = NULL,
...
)
An OxCalOutput
object.
A logical
scalar: should likelihood be drawn?
A logical
scalar: should posterior distribution be
drawn?
A logical
scalar: should warnings be plotted?
A character
string specifying the
color of the density.
A character
string or numeric
value specifying the line type of the lines.
A character
string giving a main title for the plot.
A character
string giving a subtitle for the plot.
A logical
scalar: should the default annotation (title and x,
y and z axis labels) appear on the plot?
A logical
scalar: should axes be drawn on the plot?
A logical
scalar: should a box be drawn around the
plot?
An an expression
to be evaluated after the plot axes are
set up but before any plotting takes place. This can be useful for drawing
background grids.
An expression
to be evaluated after plotting has taken
place but before the axes, title and box are added.
Other graphical parameters may also be passed as arguments to this function.
plot()
is called it for its side-effects: it results in a graphic
being displayed. Invisibly returns x
.
Other OxCal tools:
oxcal_calibrate()
,
oxcal_configure()
,
oxcal_execute()
,
oxcal_install()
,
oxcal_parse()
if (FALSE) {
## Download OxCal
oxcal_configure()
## Calibrate 14C dates
cal <- oxcal_calibrate(
names = c("X","Y"),
dates = c(5000, 4500),
errors = c(45, 35)
)
plot(cal)
}