Package: rice 2.1.1

rice: Radiocarbon Equations

Provides functions for the calibration of radiocarbon dates, as well as options to calculate different radiocarbon-related timescales (cal BP, cal BC/AD, C14 age, F14C, pMC, D14C) and estimating the effects of contamination or local reservoir offsets (Reimer and Reimer 2001 <doi:10.1017/S0033822200038339>). Supporting publication: Blaauw, M., Reimer, P.J., in press. An open-source toolkit for radiocarbon dating and calibration. Radiocarbon. The methods follow long-established recommendations such as Stuiver and Polach (1977) <doi:10.1017/S0033822200003672> and Reimer et al. (2004) <doi:10.1017/S0033822200033154>. This package uses the calibration curves from the data package 'rintcal'.

Authors:Maarten Blaauw [aut, cre], Paula Reimer [ctb], Vegard Martinsen [ctb]

rice_2.1.1.tar.gz
rice_2.1.1.zip(r-4.7)rice_2.1.1.zip(r-4.6)rice_2.1.1.zip(r-4.5)
rice_2.1.1.tgz(r-4.6-any)rice_2.1.1.tgz(r-4.5-any)
rice_2.1.1.tar.gz(r-4.7-any)rice_2.1.1.tar.gz(r-4.6-any)
rice_2.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rice/json (API)
NEWS

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

Bug tracker:https://github.com/maarten14c/rice/issues

Datasets:

On CRAN:

Conda:

6.63 score 2 stars 4 packages 16 scripts 947 downloads 80 exports 21 dependencies

Last updated from:d5c51707f9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK175
source / vignettesOK223
linux-release-x86_64OK152
macos-release-arm64OK206
macos-oldrel-arm64OK202
windows-develOK142
windows-releaseOK142
windows-oldrelOK168
wasm-releaseOK120

Exports:adjust.backgroundadjust.fractionationage.F14Cage.pMCage.rangeas.binas.oneb2ktoBCADb2ktoC14b2ktocalBPb2ktoDelta14Cb2ktoF14Cb2ktopMCBCADtob2kBCADtoC14BCADtocalBPBCADtoDelta14CBCADtoF14CBCADtopMCC14tob2kC14toBCADC14tocalBPC14toDelta14CC14toF14CC14topMCcalBPtob2kcalBPtoBCADcalBPtoC14calBPtoDelta14CcalBPtoF14CcalBPtopMCcaldistcalib.tcalibratablecalibratecleancontaminatecoverageCtoFDelta14CtoC14Delta14CtoF14CDelta14CtopMCdraw.ccurvedraw.CFdraw.contaminationdraw.datesdraw.Delta14CF14C.ageF14CtoC14F14CtoDelta14CF14CtopMCfind.shellsfractionsfromtoFtoChowmuchC14hpdhpd.overlapl.calibmap.datesmap.shellsmuckolderoverlapp.rangepMC.agepMCtoC14pMCtoDelta14CpMCtoF14Cpoint.estimatespoolpush.gammapush.normalr.calibshells.meansmooth.ccurvespanspreadweighted_meansyounger

Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandjsonlitelabelinglifecyclemapsR6RColorBrewerrintcalrlangS7scalesvctrsviridisLitewithr

Introduction to the rice package

Rendered fromrice.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2026-05-25
Started: 2024-08-27

Readme and manuals

Help Manual

Help pageTopics
rice: Radiocarbon Equationsrice-package
Adjust a radiocarbon age for background measurementsadjust.background
Adjust a radiocarbon age for fractionationadjust.fractionation
Deprecated. Use C14toF14C insteadage.F14C
Deprecated. Use C14topMC instead.age.pMC
Calculate age rangesage.range
Combine multiple radiocarbon dates within binsas.bin
Combine multiple radiocarbon dates assuming they belong to the same single yearas.one
calculate cal BC/AD ages from b2k agesb2ktoBCAD
Find the 14C age and error belonging to a b2k age.b2ktoC14
calculate cal BP ages from b2k agesb2ktocalBP
Find the Delta14C and error belonging to a b2k age.b2ktoDelta14C
Find the F14C and error belonging to a b2k age.b2ktoF14C
Find the pMC and error belonging to a b2k age.b2ktopMC
calculate b2k from cal BC/AD agesBCADtob2k
Find the 14C age and error belonging to a cal BC/AD age.BCADtoC14
calculate cal BP ages from cal BC/AD agesBCADtocalBP
Find the Delta14C and error belonging to a cal BC/AD age.BCADtoDelta14C
Find the F14C and error belonging to a cal BC/AD age.BCADtoF14C
Find the pMC and error belonging to a cal BC/AD age.BCADtopMC
Find the b2k age(s) crossing a C14 age.C14tob2k
Find the cal BCAD age(s) crossing a C14 age.C14toBCAD
Find the calBP age(s) crossing a C14 age.C14tocalBP
Transform C14 age(s) into Delta14CC14toDelta14C
Calculate F14C values from C14 agesC14toF14C
Calculate pMC values from C14 agesC14topMC
calculate b2k ages from cal BP agescalBPtob2k
calculate cal BC/AD ages from cal BP agescalBPtoBCAD
Find the 14C age and error belonging to a cal BP age.calBPtoC14
Find the Delta14C and error belonging to a cal BP age.calBPtoDelta14C
Find the F14C and error belonging to a cal BP age.calBPtoF14C
Find the pMC and error belonging to a cal BP age.calBPtopMC
Calculate calibrated distributioncaldist
Comparison dates calibrated using both the t distribution (Christen and Perez 2009) and the normal distribution.calib.t
Make a table of calibrated datescalibratable
Plot individual calibrated dates.calibrate
Simulate removing contamination from a radiocarbon ageclean
Simulate the impact of contamination on a radiocarbon agecontaminate
To be retired - coverage of one distribution by another.coverage
Calculate F14C values from C14 agesCtoF
Transform Delta14C into C14 ageDelta14CtoC14
Transform Delta14C into F14CDelta14CtoF14C
Transform Delta14C into pMCDelta14CtopMC
Draw a calibration curve.draw.ccurve
Draw the asymmetric relationship between 14C and F14Cdraw.CF
Draw contamination impactsdraw.contamination
add calibrated distributions to a plot.draw.dates
Draw Delta14C and the calibration curve.draw.Delta14C
Deprecated. Use F14CtoC14insteadF14C.age
Calculate C14 ages from F14C values.F14CtoC14
Transform F14C into Delta14CF14CtoDelta14C
Calculate pMC ages from F14C values.F14CtopMC
Find nearby shell-derived dR valuesfind.shells
Estimate a missing radiocarbon age from fractionsfractions
translate between timescalesfromto
Calculate C14 ages from F14C values.FtoC
Amount of C14 particles in a samplehowmuchC14
Calculate highest posterior densityhpd
Check whether hpds of two distributions overlaphpd.overlap
Find the calibrated probability of a calendar age for a 14C date.l.calib
A map of 180k archaeological C-14 datesmap.dates
Plot regional shell-derived dR valuesmap.shells
Calculate the amount of muck/contamination to explain an observed C14 agemuck
Find the probability of a calibrated date being older than a certain ageolder
The overlap between calibrated C14 datesoverlap
Probability of a date lying within a cal BP rangep.range
Deprecated. Use pMCtoC14 instead.pMC.age
Calculate C14 ages from pMC values.pMCtoC14
Transform pMC into Delta14CpMCtoDelta14C
Calculate pMC ages from F14C values.pMCtoF14C
Calculate a point estimatepoint.estimates
Test if a set of radiocarbon dates can be combinedpool
Add a gamma distribution to a calibrated datepush.gamma
Add a normal distribution to a calibrated datepush.normal
return a random calendar age from a calibrated distributionr.calib
shells Datashells
Plot and summarize the dR valuesshells.mean
shroud Datashroud
Smooth a calibration curvesmooth.ccurve smooth.curve
The time span between two calibrated datesspan
The spread among calibrated datesspread
Calculate the weighted mean of C14 agesweighted_means
Find the probability of a calibrated date being of a certain age or younger than ityounger