swapXY.density
From R.utils v2.0.0
by Henrik Bengtsson
Swaps x and y coordinates of a density object
Swaps x and y coordinates of a density object returned by density
.
Usage
## S3 method for class 'density':
swapXY(object, ...)
Arguments
- ...
- Not used.
Value
- Returns a 'density' object of the same class with elements 'x' and 'y' swapped.
See Also
See density
for estimating densities.
See *draw()
for plotting a density along one of the sides.
Community examples
Looks like there are no examples yet.