Description Usage Arguments Value Author(s)
View source: R/densityLegend.R
Function for plotting a colored polygon as part of a density legend
1 |
de1 |
a density() object |
tempDex |
a set of indices corresponding to the range of the current segment to be plotted (which indices of the density object to ues) |
col |
the color of the polygon to be plotted |
side |
the side of the plot that the density legend should be plotted on |
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.