Learn R Programming

aion (version 1.3.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) or an object from which to extract the time scale.

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(), gregorian, is(), 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