b2ktoBCAD: calculate BC/AD ages from b2k ages

View source: R/realms.R

b2ktoBCADR Documentation

calculate BC/AD ages from b2k ages

Description

calculate BC/AD ages from b2k ages

Usage

b2ktoBCAD(x, zero = TRUE)

Arguments

x

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

zero

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

Details

Turn b2k ages (popular in the ice core community) into BC/AD (or BCE/CE). Negative ages indicate BC, positive ages 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. The often-used BCE/CE ages are equivalent to BC/AD.

Value

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

Examples

 b2ktoBCAD(0)
 b2ktoBCAD(1990:2010, zero=TRUE)
 b2ktoBCAD(1990:2010, zero=FALSE)

rice documentation built on June 13, 2025, 5:09 p.m.