make.pal | R Documentation |
Make Pal
make.pal(
x,
n = 255,
min = NA,
max = NA,
pal = "greyscale",
rev = FALSE,
clip = FALSE
)
x |
the values to be color coded |
n |
the number of distinct colors to use |
min |
the minimum value to correspond to the first color |
max |
the maximum value to correspond to the last color |
pal |
the pallete to use, default is ocean.haline |
rev |
Boolean, reverse the color pallete? |
clip |
boolean, remove out of range values? Defaults to False |
Thomas Bryce Kelly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.