Plots a Composite Kernel Density Estimate of sampled radiocarbon dates.
# S3 method for compositeKDE
plot(
x,
calendar = "BP",
type = "envelope",
ylim = NA,
xlim = NA,
fill.col = "lightgrey",
interval = 0.95,
line.col = "black",
line.type = 2,
multiline.alpha = NA,
multiline.col = "black",
...
)
A compositeKDE
class object generated using the ckde
function.
Either 'BP'
or 'BCAD'
. Indicate whether the calibrated date should be displayed in BP or BC/AD. Default is 'BP'
.
Either envelope
or multiline
. Default is envelope
.
the y limits of the plot.
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).
Envelope color when type='envelope'
. Default is 'lightgrey'.
Quantile interval for the envelope. Default is 0.95.
Line color when type='envelope'
. Default is 'black.
Line type when type='envelope'
. Default is 2.
Alpha level for line transparency when type='multiline'
. Default is 10/nsim
, where nsim
is the number of simulations. If nsim
is smaller than 10, multiline.alpha
will be set to 1.
Line color when type='multiline'
. Default is 'black'.
Additional arguments affecting the plot
Visualise a compositeKDE
class object. If type
is set 'envelope'
an envelope of the percentile interval defined by the parameter interval
is shown along with the mean KDE. If type
is set 'multiline'
all KDEs are shown.
ckde
;