Description Usage Arguments Value Author(s)
View source: R/densityLegend.R
A function for creating the segmented color bars in a density legend
1 | plotBars(de1, side, colorPalette, colorBreaks)
|
de1 |
a density() object |
side |
the side of the plot that the density legend should be plotted on |
colorPalette |
A vector of color values |
colorBreaks |
A vector of cutoff values for the color regions |
none, graphics are added to the current device
Jason Waddell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.