draw.density {R.utils} | R Documentation |
Draws a density curve
Description
Draws a density curve along one of the sides of the current plotting region.
Usage
## S3 method for class 'density'
draw(object, side=1, height=0.2, offset=0, scale=c("absolute", "relative"), xtrim=NULL,
xpd=TRUE, ...)
Arguments
side |
An |
height |
A |
scale |
A |
xpd |
|
... |
Not used. |
Value
Returns the drawn 'density' object (with the 'x' and 'y' coordinates as plotted).
Author(s)
Henrik Bengtsson
See Also
See density
for estimating densities.
Internally *swapXY()
may be used.
[Package R.utils version 2.13.0 Index]