calBPtoBCAD: calculate cal BC/AD ages from cal BP ages

calBPtoBCADR Documentation

calculate cal BC/AD ages from cal BP ages

Description

calculate cal BC/AD ages from cal BP ages

Usage

calBPtoBCAD(x, zero = TRUE)

Arguments

x

The calBP age(s) to be translated into cal BC/AD ages.

zero

Whether or not zero BC/AD should be included. Defaults to zero=TRUE.

Details

Turn cal BP ages into cal BC/AD (equivalent to cal BCE/CE). Negative ages indicate cal BC, positive ages cal AD. Since the Gregorian and Julian calendars do not include 0 BCAD (i.e., 31 December of 1 BC is followed by 1 January of AD 1), zero can be omitted. The years then go from -1 (i.e., 1 BC) to 1 AD. Other calendars, such as the astronomical one, do include zero.

Value

The cal BC/AD age(s). BC ages are negative, AD ages are positive.

Examples

 calBPtoBCAD(2024)
 calBPtoBCAD(1945:1955, zero=TRUE)
 calBPtoBCAD(1945:1955, zero=FALSE)

rice documentation built on Sept. 9, 2025, 5:42 p.m.