# Matt Galloway
#' @title Time-It
#' @description Simple function that prints the computation time of a function
#'
#' @param f the function to time
#' @return returns the elapsed time
#' @export
timeit = function(f) {
# time function
system.time(f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.