Learn R Programming

rcarbon (version 1.4.0)

BPtoBCAD: Convert BP dates to BC/AD format

Description

Converts calibrated BP dates to BC/AD dates, omitting `year 0'

Usage

BPtoBCAD(x)

Arguments

x

A numerical vector (currently only basic 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

Run this code
# NOT RUN {
BPtoBCAD(4200)
# }

Run the code above in your browser using DataLab