#' How to document functions.
#'
#' This is an example showing how to document functions to be included in the package.
#'
#' @export
#' @name examplefunction
#' @author Francisco Rodriguez-Sanchez
#' @param text Message to print.
#' @seealso \url{http://r-pkgs.had.co.nz/man.html}
#' @examples
#' examplefunction('Hello world!')
examplefunction <- function(text){
return(text)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.