testInteger <- function(x){
test <- all.equal(x, as.integer(x), check.attributes = FALSE)
if(test == TRUE){ return(TRUE) }
else { return(FALSE) }
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.