plot.fittedICAR {baorista} | R Documentation |
Plot 1D ICAR model fitted to aoristic data
Description
Plot posterior estimates of fittedICAR
class objects.
Usage
## S3 method for class 'fittedICAR'
plot(
x,
hpd = c(0.5, 0.9),
minortick = NULL,
ylim = NULL,
xlab = NULL,
ylab = "Probability Mass",
calendar = "BP",
col1 = "steelblue",
col2 = "lightblue",
pch = 20,
plot.legend = TRUE,
legend.arg = NULL,
...
)
Arguments
x |
An |
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 |
ylab |
Label for the y-axis. Default is "Probability Mass". |
calendar |
Either |
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 |
... |
Additional arguments affecting the plot. |
Value
No return value (plot function)