Description Usage Arguments Value Author(s) Examples
View source: R/helper.is.leapyear.R
Helper function: Check if a given year is a leap year.
1 | helper.is.leapyear(year)
|
year |
Year to check. |
Logical. TRUE/1: year is leap year. FALSE/0: year is not a leap year.
Sven Kotlarski (MeteoSwiss)
1 2 3 4 5 | ## Not run:
# Check if year 2000 is a leap year
helper.is.leapyear(2000)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.