Draws a density curve
Draws a density curve along one of the sides of the current plotting region.
## S3 method for class 'density': draw(object, side=1, height=0.2, offset=0, scale=c("absolute", "relative"), xpd=TRUE, ...)
integerspecifying which side to draw along. See
numericscalar specifying the "height" of the curve, where height means the maximum height of the density. that is, how much the zero-density position should be shifted.
characterspecifying the scale of the curve, which can be either absolute or relative.
TRUE, the curve is not clipped, cf.
- Not used.
- Returns the drawn 'density' object (with the 'x' and 'y' coordinates as plotted).
Looks like there are no examples yet.