Plot posterior estimates of fittedICAR
class objects.
# S3 method for 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,
...
)
No return value (plot function)
An fittedICAR
class object
A vector with two values defining the highest posterior density interval to display. Default is 0.5 and 0.9.
Interval for minor ticks in the x-axis label. Default is estimated based on timescale.
Limits of the y-axis. Default estimated from posterior ranges.
Label for the x-axis. Default based on calendar
.
Label for the y-axis. Default is "Probability Mass".
Either 'BP'
or 'BCAD'
. Indicate whether the x-axis should be displayed in BP or BC/AD. Default is 'BP'
.
Fill color for the first (inner) HPD interval. Default is 'steelblue'.
Fill color for the second (outer) HPD interval. Default is 'lightblue'.
Point symbol used to display mean posteriors. Default is 20.
Logical indicating whether to display a legend or not (default is TRUE).
List containing arguments to be directed to the legend()
function.
Additional arguments affecting the plot.