#' round a number to closest multiple of a given number.
#'
#' @param x Numeric.
#' @param base Numeric.
#' @return x rounded to closest multiple of base.
#' @examples
#' > mround(11.3, 5)
#' > 10
mround <- function(x, base){
base * round(x/base)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.