# Function to test whether the values in x are whole numbers
is_wholenumber <- function(x, tol = .Machine$double.eps^0.5) {
return(abs(x - round(x)) < tol)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.