Nothing
#' Scale a vector to the range \[0, 1\]
#'
#' @param x A numeric vector
#' @return A numeric vector scaled to the range \[0, 1\]
#' @export
#'
#' @examples
#' scale_minmax(c(1, 2, 3))
scale_minmax <- function(x) {
minx <- min(x, na.rm = TRUE)
maxx <- max(x, na.rm = TRUE)
(x - minx) / (maxx - minx)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.