#' Simple example function
#'
#' This function checks if an integer is odd or even
#'
is_even <- function(integer){
if((integer %% 2) == 0){
return(1)
}else{
return(0)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.