#' PercentAbove
#'
#' Return the percentage of a list that is above a threshold
#'
#' @param x A list of numeric values.
#' @param threshold A numeric threshold value.
#'
#' @return double
#' @export
#'
PercentAbove <- function(x, threshold){
return(length(x = x[x > threshold]) / length(x = x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.