#'Multiply two numbers together
#'
#'@params x A number
#'@params y Another number
#'@return product The product of multiplying x and y
#'@usage
#'mult(4,5)
mult <- function(x, y) {
product <- x*y
if (is.numeric(product) == FALSE){
return("Error - non-numeric")
}
return(product)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.