handle_negative_dates: Handling negative dates (BC dates)

Description Usage Arguments Details Value Examples

Description

handle_negative_dates takes negative dates

Usage

1

Arguments

y

The year as a nummeric input

m

The month as a nummeric input

d

the day as a numeric input

Details

This function takes ONLY negative dates in form three inputs: year, month and the day. With some estimates and mirroring, it gives back a date with a date-class, which is negative Important to note is, that the return date is not 100 It is within +/- 5 days (accuracy). This is due to the mirroring which was an estimate, and due to the fact that not all month were equal in days.

Value

Date as a date class, and which is negative

Examples

1

moralmar/earthquakesWithR documentation built on May 20, 2019, 7:57 a.m.