View source: R/26_jalalidate_other_functions.R
is_gregorian_leap_year | R Documentation |
check if a Gregorian year is leap year
is_gregorian_leap_year(year)
year |
double |
logical
is_gregorian_leap_year(c(2000, 2001, 2002))
# [1] TRUE FALSE FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.