#' Squared
#'
#' This function makes x squared.
#'
#' @param x a number.
#'
#' @return
#' A number, x squared.
#'
#' @seealso
#' \link{Arithmetic}, \code{\link{sqrt}}.
#'
#' @examples
#' squared(10)
#'
#' squared(pi)
#'
#' @author
#' Hulda Margrét Birkisdóttir
#'
#' @export
squared<- function(x)
{
x <- x*x
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.