#' round_num
#'
#' @param x
#' @param accuracy
#' @param roundto
#'
#' @return
#' @export
#'
#' @examples
round_num <- function(thisnumber, accuracy, f=round){
newthisnumber= f(thisnumber/ accuracy) * accuracy
return (newthisnumber)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.