Learn R Programming

rcarbon (version 1.4.0)

BCADtoBP: Convert BC/AD dates to BP format

Description

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

Usage

BCADtoBP(x)

Arguments

x

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

Value

A vector with BP dates.

Examples

Run this code
# NOT RUN {
BCADtoBP(-1268)
# }

Run the code above in your browser using DataLab