LeapYear {s2dv}R Documentation

Checks Whether A Year Is Leap Year

Description

This function tells whether a year is a leap year or not.

Usage

LeapYear(year)

Arguments

year

A numeric value indicating the year in the Gregorian calendar.

Value

Boolean telling whether the year is a leap year or not.

Examples

print(LeapYear(1990))
print(LeapYear(1991))
print(LeapYear(1992))
print(LeapYear(1993))

[Package s2dv version 2.0.0 Index]