interpolatePalette | R Documentation |
Create a function to generate set of n colors from a color palette.
interpolatePalette( paletteList = customColors::potlinePalettes, paletteName = "redBeigeGrey", reverse = F, ... )
paletteList |
name of palette list. Default to customColors::potlinePalettes |
paletteName |
name of palette in palette list. Default to 'redBeigeGrey' |
reverse |
if TRUE reverse he colors |
... |
passed on to colorRampPalette. |
function
interpolatePalette()(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.