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