Package: rcarbon 1.5.1

Enrico Crema

rcarbon: Calibration and Analysis of Radiocarbon Dates

Enables the calibration and analysis of radiocarbon dates, often but not exclusively for the purposes of archaeological research. It includes functions not only for basic calibration, uncalibration, and plotting of one or more dates, but also a statistical framework for building demographic and related longitudinal inferences from aggregate radiocarbon date lists, including: Monte-Carlo simulation test (Timpson et al 2014 <doi:10.1016/j.jas.2014.08.011>), random mark permutation test (Crema et al 2016 <doi:10.1371/journal.pone.0154809>) and spatial permutation tests (Crema, Bevan, and Shennan 2017 <doi:10.1016/j.jas.2017.09.007>).

Authors:Andrew Bevan [aut], Enrico Crema [aut, cre], R. Kyle Bocinsky [ctb], Martin Hinz [ctb], Philip Riris [ctb], Fabio Silva [ctb]

rcarbon_1.5.1.tar.gz
rcarbon_1.5.1.zip(r-4.5)rcarbon_1.5.1.zip(r-4.4)rcarbon_1.5.1.zip(r-4.3)
rcarbon_1.5.1.tgz(r-4.4-any)rcarbon_1.5.1.tgz(r-4.3-any)
rcarbon_1.5.1.tar.gz(r-4.5-noble)rcarbon_1.5.1.tar.gz(r-4.4-noble)
rcarbon_1.5.1.tgz(r-4.4-emscripten)rcarbon_1.5.1.tgz(r-4.3-emscripten)
rcarbon.pdf |rcarbon.html
rcarbon/json (API)

# Install 'rcarbon' in R:
install.packages('rcarbon', repos = c('https://ahb108.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ahb108/rcarbon/issues

Datasets:
  • emedyd - Radiocarbon dates for the Eastern Mediterranean around the Younger Dryas
  • euroevol - Radiocarbon dates from the EUROEVOL database
  • ewdates - Subset of EUROEVOL radiocarbon dates from Great Britain
  • ewowin - Polygonal window of England and Wales

On CRAN:

8.13 score 33 stars 2 packages 278 scripts 562 downloads 7 mentions 36 exports 43 dependencies

Last updated 2 months agofrom:5ed402b629. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILOct 10 2024
R-4.5-winWARNINGOct 10 2024
R-4.5-linuxWARNINGOct 10 2024
R-4.4-winWARNINGOct 10 2024
R-4.4-macWARNINGOct 10 2024
R-4.3-winWARNINGOct 10 2024
R-4.3-macWARNINGOct 10 2024

Exports:as.CalDatesas.CalGridas.UncalGridbarCodesBCADtoBPbinMedbinPrepbinsenseBPtoBCADcalibrateckdecombinegaussWhpdimedCalmixCurvesmodelTestmultiplotp2pTestpermTestpoolDatesqCalreScalerunMeansampleDatessmoothGaussspdspd2rcspkdespteststackspdstkdethinDatestransformSPDuncalibratewhich.CalDates

Dependencies:abindclassclassIntcodetoolsDBIdeldirdoSNOWe1071evaluateforeachgoftesthighriteratorsKernSmoothknitrlatticemagrittrMASSMatrixmgcvnlmepolyclipproxyRcpprparts2sfsnowspatstatspatstat.dataspatstat.explorespatstat.geomspatstat.linnetspatstat.modelspatstat.randomspatstat.sparsespatstat.univarspatstat.utilstensorunitswkxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Convert to a CalDates objectas.CalDates
Convert data to class CalGrid.as.CalGrid
Convert data to class UncalGrid.as.UncalGrid
Plot the median values of calibrated radiocarbon dates or binsbarCodes
Convert BC/AD dates to BP formatBCADtoBP
Computes the median date of each binbinMed
Binning function of radiocarbon dates.binPrep
Bin sensitivity Plotbinsense
Convert BP dates to BC/AD formatBPtoBCAD
Calibrate radiocarbon datescalibrate calibrate.default calibrate.UncalGrid
Composite Kernel Density Estimates of Radiocarbon Datesckde
Combine multiple CalDates Class Objects into one.combine
Radiocarbon dates for the Eastern Mediterranean around the Younger Dryasemedyd
Radiocarbon dates from the EUROEVOL databaseeuroevol
Subset of EUROEVOL radiocarbon dates from Great Britainewdates
Polygonal window of England and Walesewowin
Gaussian weighting of dates relative togaussW
Computes the highest posterior density interval (HPDI) for calibrated dateshpdi
Computes the median date of calibrated datesmedCal
Creates mixed calibration curves.mixCurves
Monte-Carlo simulation test for SPDsmodelTest
Plot multiple datesmultiplot
Point to point test of SPDp2pTest
Random mark permutation test for SPDspermTest
Plot calibrated datesplot.CalDates
Plot a summed probability distribution (from a CalGrid object)plot.CalGrid
Plot a summed probability distributionplot.CalSPD
Plots a Composite Kernel Density Estimate of sampled radiocarbon dates.plot.compositeKDE
Plot results of the local spatial permutation test of summed probability distributions.plot.spatialTest
Plot result of Monte-Carlo simulation of observed versus modelled SPDsplot.SpdModelTest
Plot result of mark permutation test of SPDsplot.SpdPermTest
Plot 'spdRC' class objectsplot.spdRC
Plot a stack of SPDsplot.stackCalSPD
Plot map(s) of the spatio-temporal intensity of radiocarbon dates.plot.stKde
Combine radiocarbon ages from the same event.poolDates
Computes the quantile date of calibrated datesqCal
rcarbon:Calibration and analysis of radiocarbon datesrcarbon-package rcarbon
Rescale a numeric vector to a specified minimum and maximumreScale
Calculate a running mean from a numeric vector.runMean
Sample random calendar datessampleDates
Smooth a numeric vector using a Gaussian windowsmoothGauss
Summed probability distributions (SPD) of radiocarbon dates.spd
Computes rates of change from SPDsspd2rc
Map the spatial intensity of a set of radiocarbon dates for a given focal year.spkde
Spatial Permutation Test of summed probability distributions.sptest
Stacked Summed Probability Distributionstackspd
Map the spatio-temporal intensity of a set of radiocarbon datesstkde
Subsetting calibrated datessubset.CalDates
Summarise a 'CalDates' class objectsummary.CalDates
Summarise a 'SpdModelTest' class objectsummary.SpdModelTest
Summarise a 'SpdPermTest' class objectsummary.SpdPermTest
Sampling function to select a maximum number of dates per site, bin or phase.thinDates
Apply taphonomic corrections or other transformations to an SPD.transformSPD
Uncalibrate (back-calibrate) a calibrated radiocarbon date (or summed probability distribution).uncalibrate uncalibrate.CalGrid uncalibrate.default
Which indices for calibrated dateswhich.CalDates