Learn R Programming

aion (version 1.4.0)

calendar: Calendar

Description

Calendar

Usage

calendar(object)

# S4 method for character calendar(object)

Value

A TimeScale object.

Arguments

object

A character string specifying the abbreviated label of the time scale (see details).

Author

N. Frerebeau

Details

The following time scales are available:

labeleracalendar
BPBefore PresentGregorian
BCBefore ChristGregorian
BCEBefore Common EraGregorian
ADAnno DominiGregorian
CECommon EraGregorian
b2kYears before 2000Gregorian
julianJulian

See Also

Other calendar tools: calendar_get, convert(), get_calendar(), gregorian, is_calendar(), julian()

Examples

Run this code
## Define time scales
calendar("BP")
calendar("AD")
calendar("julian")

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

Run the code above in your browser using DataLab