#' @title My First Function
#'
#' @param x A vector of quantitative data
#'
#' @return A vector of squared components
#' @export
#'
#' @examples
#' y <- 1:10; myfirstfun(y)
myfirstfun <- function(x){
x^2
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.