eq_get_date: Date Conversion from Numeric Representation

Description Usage Arguments Value Examples

Description

In contrast to ISOdate it can also define BC dates (at least those of them that comply with R). Only the additional day of leap years (February 29) cannot be defined correctly as R introduces extra 0-th year, which actually didn't exist. That is the only reason why BC leap years in R are shifted on 1-year away from real ones.

Usage

1
eq_get_date(Y, M = 1, D = 1)

Arguments

Y,

numerical values to specify a year.

M,

numerical values to specify a month

D,

numerical values to specify a day

Value

An object of class "Date".

Examples

1
2
 eq_get_date(-100, 12, 31);
 eq_get_date(2000);

Valentin-Konoshenko/Earthquakes4Coursera documentation built on May 23, 2019, 1:08 p.m.