draw.density {R.utils} | R Documentation |
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"), xtrim=NULL,
xpd=TRUE, ...)
side |
An |
height |
A |
scale |
A |
xpd |
|
... |
Not used. |
Returns the drawn 'density' object (with the 'x' and 'y' coordinates as plotted).
Henrik Bengtsson
See density
for estimating densities.
Internally *swapXY()
may be used.