Description Usage Arguments Value Examples
Creates a Date variable from year, month, day where year could be positive (AD) or negative (BC)
1 | eq_date_clean(input_year, input_month, input_day)
|
input_year |
An integer (positive or negative) indicating the year. A negative integer represents BC |
input_month |
An integer indicating the month. If NA, it defaults to 1 |
input_day |
An integer indicating the day of the month. If NA, it defaults to 1 |
This function returns a Date variable
1 2 3 4 5 | ## Not run:
eq_date_clean(2015, 3, 30)
eq_date_clean(-2249, 1, 31)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.