View source: R/small-utility-functions.R
is.leapyear | R Documentation |
check if a given year is a leap year
is.leapyear(year, proleptic = FALSE, doy = FALSE)
year |
year (integer or vector) |
proleptic |
use leap years even before 1582. |
doy |
return days of year instead logical. |
logical or integer, if doy is TRUE
Joerg Steinkamp joerg.steinkamp@senckenberg.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.