swapXY.density | R Documentation |
Swaps x and y coordinates of a density object returned by density
.
## S3 method for class 'density'
swapXY(object, ...)
... |
Not used. |
Returns a 'density' object of the same class with elements 'x' and 'y' swapped.
Henrik Bengtsson
See density
for estimating densities.
See *draw()
for plotting a density along one of the sides.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.