#' Wrapper for Histogram function
#' 
#' This function allows plotting of standardised histograms
#' with a standardisation by bin (rather than unit)
#' 
#' @param x input vector to compute histogram
#' @param ... additional arguments passed to \code{\link{hist}}
#' 
#' @keywords utilities
#' @export
new_hist <- function(x, ...){
  newh <- hist(x, plot=F, ...)
  newh$counts <- newh$counts/length(x)
  newh
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.