#' @title My Square function
#'
#' @param x The given variable
#'
#' @return Squared x
#' @export
#'
#' @examples
#' \dontrun{y = 2; mysq(y = 4)}
mysq <- function(x){
x^2
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.