swapXY.density: Swaps x and y coordinates of a density object

Description Usage Arguments Value Author(s) See Also

Description

Swaps x and y coordinates of a density object returned by density.

Usage

1
2
## 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.

Author(s)

Henrik Bengtsson

See Also

See density for estimating densities. See *draw() for plotting a density along one of the sides.


R.utils documentation built on Sept. 26, 2021, 9:07 a.m.