util.isLeapYear: Leap year check

Description Usage Arguments Details Value Author(s) Examples

View source: R/util.isLeapYear.R

Description

Checks wether a given year is a leap year or not.

Usage

1

Arguments

year

A year or vector of years to check.

Details

This function checks wether a year (yyyy) is a leap year or not.

Value

Returns a boolean vector determining wether the given years are leap years (TRUE) or not (FALSE).

Author(s)

Daniel Doktor, Maximilian Lange

Examples

1
  util.isLeapYear(2000:2012)

phenmod documentation built on May 29, 2017, 11:37 a.m.