
Last chance! 50% off unlimited learning
Sale ends in
Creates a custom color palette based on low, middle, and high color values
CustomPalette(low = "white", high = "red", mid = NULL, k = 50)
low color
high color
middle color. Optional.
number of steps (colors levels) to include between low and high values
A color palette for plotting
# NOT RUN {
myPalette <- CustomPalette()
myPalette
# }
Run the code above in your browser using DataLab