colorPoly {oaPlots} | R Documentation |
Function for plotting a colored polygon as part of a density legend
Description
Function for plotting a colored polygon as part of a density legend
Usage
colorPoly(de1, tempDex, col, side)
Arguments
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 |
Value
none, graphics are added to the current device
Author(s)
Jason Waddell
[Package oaPlots version 0.0.25 Index]