BCADtoBP: Convert BC/AD dates to BP format

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Converts BC/AD dates to BP format while handling the absence of 'year 0'

Usage

1

Arguments

x

A numerical vector (currently no checks that these numbers are in a sensible range).

Value

A vector with BC/BCE dates expressed as negative numbers and AD/CE dates as positive ones.

Examples

1
BCADtoBP(-1268)

rcarbon documentation built on Oct. 1, 2018, 5:03 p.m.