LeapYear {s2dv} | R Documentation |
This function tells whether a year is a leap year or not.
LeapYear(year)
year |
A numeric value indicating the year in the Gregorian calendar. |
Boolean telling whether the year is a leap year or not.
print(LeapYear(1990))
print(LeapYear(1991))
print(LeapYear(1992))
print(LeapYear(1993))