## ------------------------------------------------------------------------
## Josh Cowley. Last modified 31-10-19
## Wrtie some very basic functions to show proof of concept
## ------------------------------------------------------------------------
#' Multiply numeric by 23
#'
#' \code{MultiplyBy23()} multiplies the given arugment by 23.
#'
#' @param t Numeric argument.
#' @return The value of 23 * \code{t}
#' @export
#'
#' @examples
#' MultiplyBy23(1)
#' MultiplyBy23(c(1,3,5))
#'
#' \dontrun{
#' MultiplyBy23("a") # Nonsensical
#' }
MultiplyBy23 <- function(t) {
temp <- t * 23
return(temp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.