#' @title My new function
#'
#' @param x A vector
#'
#' @return A vector squared
#' @export
#'
#' @examples
#' myfun(x=1:10)
myfun <- function(x) {
x^2
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.