#' Get NORMENT palette colors
#'
#' @keywords internal
#' @export
norment_pal <- function(palette = "default", reverse = FALSE,...) {
set.seed(as.numeric(Sys.time()))
if (palette == "random") {
pal <- sample(norment_palette[[palette]])
} else {
pal <- norment_palette[[palette]]
}
if (reverse) pal <- rev(pal)
return(colorRampPalette(pal, ...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.