#' Check if number is integer or a real number
#'
#' @param x numeric vector
#'
#' @export
is.int <- function(x) {
stopifnot(is.numeric(x))
all(na.omit(x) %% 1 == 0)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.