Description Usage Arguments Value Author(s) Examples
Provides information (TRUE/FALSE) whether a year is a leap year (TRUE) or not (FALSE).
1  | is.leapyear(year)
 | 
year | 
 a numeric giving a year  | 
Returns a logical. It is TRUE when 'year' is a leap year according to the Gregorian calender. Else it is false.
Daniel Neumann, daniel.neumann@io-warnemuende.de
1 2 3 4 5 6 7 8  |   is.leapyear(2012)
  # return: TRUE
  
  is.leapyear(2001)
  # return: FALSE
  
  is.leapyear(1998:2010)
  # return: FALSE FALSE  TRUE FALSE FALSE FALSE  TRUE FALSE FALSE FALSE  TRUE FALSE FALSE
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.