powered by
This color palette is designed to show risk levels with different colours from small risk (bright orange) to high risk (dark red).
risk.colors(n)
number of colors (>= 1) to be in the palette.
metre, colors, and palette.
metre
colors
palette
# NOT RUN { ## risk pie with ten levels pie(rep(1,10), labels = seq(0.1, 1, 0.1), col = risk.colors(10)) # }
Run the code above in your browser using DataLab