#' Multiply a number by 2
#'
#' @param x any number
#'
#' @return a single numeric value
#' @export
#'
#' @examples multiplyby2(4)
multiplyby2 <- function(x) {
result <- 2 * x
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.