#' Percent Rank
#'
#' Transforms vector into ranking
#' @param x A vector to be converted into percent ranks
#' @export perc_rank
perc_rank <- function(x) trunc(rank(x))/length(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.