#' Function for correcting values out of range
#' @export
#'
setValueLimit<-function(array, lowerlimit, upperlimit){
array[array>upperlimit]=upperlimit
array[array<lowerlimit]=lowerlimit
return(array)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.