Description Usage Arguments Details See Also
View source: R/plot.BchronCalibratedDates.R
Plots calibrated radiocarbon dates from a BchronCalibrate
run. Has options to plot on a position (usually depth) scale if supplied with the original run
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## S3 method for class 'BchronCalibratedDates'
plot(
x,
date = NULL,
withPositions = ifelse(length(x) > 1 & !is.null(x[[1]]$positions) & !includeCal,
TRUE, FALSE),
includeCal = FALSE,
dateHeight = 100,
dateLabels = TRUE,
dateLabelSize = 2,
nudgeX = 0,
nudgeY = 0,
fillCol = rgb(47/255, 79/255, 79/255, 0.5),
withHDR = TRUE,
ageScale = c("bp", "bc", "b2k"),
scaleReverse = TRUE,
pathToCalCurves = system.file("data", package = "Bchron"),
...
)
|
x |
Output from |
date |
Either numbers or date names to plot (only used if multiple dates have been calibrated) |
withPositions |
Whether to plot with positions (i.e. using the position values as the y axis). By default TRUE if |
includeCal |
Whether to plot the date alongside the calibration curve (with 95% uncertainty bands) and the normally distributed uncalibrated date. |
dateHeight |
The height of the dates in the plot in the same units as the position values. Only relevant if |
dateLabels |
Whether to add the names of the dates to the left of them. Default TRUE |
dateLabelSize |
Size of the date labels |
nudgeX |
The amount to move the date labels in the x direction. Can be negative. See |
nudgeY |
The amount to move the date labels in the y direction. Can be negative. See |
fillCol |
A colour to fill the date densities when |
withHDR |
Whether to plot the 95% highest density region values |
ageScale |
Either |
scaleReverse |
Whether to reverse the x-axis scale. Defaults to TRUE which works best for dates presented in e.g. years BP |
pathToCalCurves |
The Bchron path to calibration curves. Defaults to the package location might need to be set to another folder if user defined calibration curves are being used |
... |
Other arguments to plot (currently ignored) |
These plots are intended to be pretty basic and used simply for quick information. Users are encouraged to learn the R plotting features to produce publication quality graphics
BchronCalibrate
, Bchronology
, BchronRSL
, BchronDensity
, BchronDensityFast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.