fishpals <- function(palette = "CFS", reverse = FALSE, ...) {
pal <- fishpals_pals[[palette]]
if (reverse) pal <- rev(pal)
colorRampPalette(pal, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.