Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 919 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 919 Bytes

maya

CRAN status Build Status Coverage status

Provides functions to convert between the Mayan calendar dates and Gregorian dates.

Installation

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("edgararuiz/maya")

Example

library(maya)

mayan_to_gregorian("13.0.0.0.0")
#> [1] "December 21, 2012 CE"
gregorian_to_mayan("August 11, 3114 BCE")
#> [1] "0.0.0.0.0"