#' Square Function
#' Takes vector and returns a vector of squared components plus 1.
#'
#' @param x
#'
#' @return a vector of squared components plus one
#' @export
#'
#' @examples
#' x=1:30;myf(x)
myf=function(x){
(x^2) + 1
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.