Learn R Programming

aion (version 1.4.0)

get_calendar: Get or Set the Default Calendar

Description

Get or Set the Default Calendar

Usage

get_calendar(...)

set_calendar(object)

# S4 method for ANY get_calendar(...)

# S4 method for character set_calendar(object)

# S4 method for missing set_calendar()

Value

A TimeScale object.

Arguments

...

Currently not used.

object

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

Author

N. Frerebeau

See Also

Other calendar tools: calendar(), calendar_get, convert(), 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