leapyear | R Documentation |
Tests whether a given year is a leap year or not.
leapyear(y)
y |
Year, numeric coerced into integer. |
TRUE |
leap year |
FALSE |
non leap year |
Joerg Schaber
leapyear(2000) leapyear(2004)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.