leapyear {pheno}R Documentation

Boolean test for leap year

Description

Tests whether a given year is a leap year or not.

Usage

leapyear(y)

Arguments

y Year, numeric coerced into integer.

Value

TRUE leap year
FALSE non leap year

Author(s)

Joerg Schaber

Examples

        leapyear(2000)
        leapyear(2004)

[Package pheno version 1.4 Index]