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