#' Sum two numbers.
#'
#' @param x A number.
#' @param y A number.
#'
#' @return The sum of x and y.
#'
#' @examples
#' add(1, 2)
#' add(-5, 7)
add <- function(x, y) {
x + y
}
#' Subtract the second number from the first.
#'
#' @param x A number.
#' @param y A number.
#'
#' @return The result of \code{x - y}
#'
#' @examples
#' subtract(2, 1)
#' subtract(70, 80)
subtract <- function(x, y) {
x - y
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.