caldist | R Documentation |
Calculate the calibrated distribution of a radiocarbon date.
caldist( age, error, cc = 1, postbomb = FALSE, yrsteps = FALSE, threshold = 0.001, calibt = FALSE, BCAD = FALSE, rule = 1, ccdir = NULL )
age |
Uncalibrated radiocarbon age |
error |
Lab error of the radiocarbon age |
cc |
Calibration curve to use. Defaults to IntCal20 ( |
postbomb |
Whether or not to use a postbomb curve. Required for negative radiocarbon ages. |
yrsteps |
Steps to use for interpolation. Defaults to the cal BP steps in the calibration curve |
threshold |
Report only values above a threshold. Defaults to |
calibt |
Use the student-t distribution as alternative to the normal distribution. Requires 2 parameters, e.g., |
BCAD |
Which calendar scale to use. Defaults to cal BP, |
rule |
Which extrapolation rule to use. Defaults to |
ccdir |
Directory of the calibration curves. Defaults to where the package's files are stored (system.file), but can be set to, e.g., |
calib <- caldist(130,20) plot(calib, type="l") postbomb <- caldist(-3030, 20, "nh1", BCAD=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.