swapXY.density {R.utils} | 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.