Description Usage Arguments Details Value Author(s) References Examples
This function determines whether a given year is a leap year
1 | leap_year(x)
|
x |
integer value, representing year number |
Takes a year number as input, and returns TRUE if this is a leap year, and FALSE if not
boolean variable (TRUE or FALSE)
Eike Luedeling, but based on pseudocode from Wikipedia
https://en.wikipedia.org/wiki/Leap_year
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.