#' 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.