#'@title Subtract two vectors
#'@description
#'This function subtracts one numeric vector from another
#'and returns a numeric vector
#'
#'@param x a numeric vector
#'@param y a numeric vector
#'
#'@return a numeric vector
#'
#'@export
#'
#'@examples
#'subtract(2, 3)
#'subtract(mtcars$mpg, mtcars$hp)
subtract <- function(x, y){
x - y
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.