calendar: Calendar

calendarR Documentation

Calendar

Description

Calendar

Usage

calendar(object)

## S4 method for signature 'character'
calendar(object)

Arguments

object

A character string specifying the abbreviated label of the time scale (see details) or an object from which to extract the time scale.

Details

The following time scales are available:

label era calendar
BP Before Present Gregorian
BC Before Christ Gregorian
BCE Before Common Era Gregorian
AD Anno Domini Gregorian
CE Common Era Gregorian
b2k Years before 2000 Gregorian
julian Julian

Value

A TimeScale object.

Note

Inspired by era::era() by Joe Roe.

Author(s)

N. Frerebeau

See Also

Other calendar tools: calendar_get, convert(), gregorian, is(), julian()

Examples

## Define time scales
calendar("BP")
calendar("AD")
calendar("julian")

## Shortcuts
BP()
AD()
J()

aion documentation built on Oct. 4, 2024, 5:07 p.m.