leapYears: Leap Year Check

Description Usage Arguments Value Author(s) Examples

Description

Checks whether the given years are leap years.

Usage

1
leapYears(year)

Arguments

year

A vector of years as integer values.

Value

A vector of boolean values determining whether the given years are leap years.

Author(s)

Daniel Doktor, Maximilian Lange

Examples

1
2
3
	year <- c(1995, 2000, 2005, 2010)
	leaps <- leapYears(year)
	leaps

phenex documentation built on May 1, 2019, 10:56 p.m.

Related to leapYears in phenex...