Nothing
#' leapYear
#' @description \code{TRUE} if \code{x} is a leap year, \code{FALSE}
#' otherwise.
#' @param x integer year
#' @author
#' Alan Jassby, James Cloern
#' @export
leapYear <-
function(x) {
if (!is.numeric(x))
stop('x must be numeric')
x <- floor(x)
x%%4 == 0 & (x%%100 != 0 | x%%400 == 0)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.