powered by
Function to create a Red-Gray-Blue palette
RedGrayBlue(n)
Number of colors to create
A vector of n colors.
Function to create a Red-Gray-Blue palette. Using gray instead of white allows missing values to appear as white (transparent).
# NOT RUN { pie(rep(1,11), col=RedGrayBlue(11)) title("RedGrayBlue(11)") # }
Run the code above in your browser using DataLab