Visualises the observed SPD along with the simulation envelope generated from permTest
, with regions of positive and negative deviations highlighted in red and blue.
# S3 method for SpdPermTest
plot(
x,
focalm = 1,
type = "spd",
calendar = "BP",
xlim = NA,
ylim = NA,
col.obs = "black",
col.env = rgb(0, 0, 0, 0.2),
lwd.obs = 0.5,
xaxs = "i",
yaxs = "i",
bbty = "f",
drawaxes = TRUE,
...
)
A SpdPermTest
class object. Result of random mark permutation test (see permTest
)
Value specifying the name of the focal mark (group) to be plotted.
Whether to display SPDs ('spd') or rates of change ('roc'). Default is 'spd'.
Either 'BP'
or 'BCAD'
. Indicate whether the calibrated date should be displayed in BP or BC/AD. Default is 'BP'
.
the x limits of the plot. In BP or in BC/AD depending on the choice of the parameter calender
. Notice that if BC/AD is selected BC ages should have a minus sign (e.g. c(-5000,200)
for 5000 BC to 200 AD).
the y limits of the plot.
Line colour for the observed SPD
Colour for the simulation envelope
Line width for the observed SPD
The style of x-axis interval calculation (see par
)
The style of y-axis interval calculation (see par
)
Display options; one between 'b'
,'n'
,and 'f'
. See details in plot.SpdModelTest
.
A logical value determining whether the axes should be displayed or not. Default is TRUE.
Additional arguments affecting the plot
permTest
; plot.SpdModelTest
;