draw.density | 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 |
If |
... |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.