#' A very brief description of what your function does
#'
#' A detailed description of what the function does.
#'
#' @param print_statement a logical value indicating
#' whether to print the statement (default is \code{TRUE})
#'
#' @import dplyr
#'
#' @export
#'
#' @return \code{my_function} prints a declaration
#' announcing itself if the parameter is \code{TRUE}
#'
#' @examples
#' R code examples
#'
my_function <- function(print_statement = TRUE){
if(print_statement){
print("This is my function.")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.