dateCalibrator | R Documentation |
Generates a matrix of calibrated date probabilities, each column corresponding to each uncalibrated date
dateCalibrator(data, CalArray)
data |
A dataframe of 14C dates comprising 'age' and 'sd'. |
CalArray |
A 2D probability array of the calibration curve generated by |
Returns a matrix of probabilities. Each column provides the calibrated probability density of a date. Row names are the calendar years.
# minimum data requirement includes 'mean' and 'sd'
data <- data.frame(age=c(5800, 5100, 5500, 5320, 5560),sd=c(40, 35, 30, 30, 30))
calrange <- estimateDataDomain(data, intcal20)
CalArray <- makeCalArray(intcal20, calrange)
x <- dateCalibrator(data, CalArray)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.