dtt_leap_year {dttr2} | R Documentation |
Test for Leap Year
Description
Tests whether each year is a leap year.
Usage
dtt_leap_year(x)
Arguments
x |
A date/time vector. |
Value
A logical vector indicating whether each year is a leap year.
See Also
Other leap year:
dtt_feb29_to_28()
Examples
dtt_leap_year(as.Date("1999-03-04", "2000-02-01"))
[Package dttr2 version 0.5.0 Index]