#' Getting the mode value
#'
#' Mode
#'
#' @param x the data
#'
#' @examples
#' ## T.B.A.
#'
#' @export
get_mode <- function(x) {
## Original Code: http://stackoverflow.com/questions/2547402/standard-library-function-in-r-for-finding-the-mode
ux <- unique(x)
ux[which.max(tabulate(match(x, ux)))]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.