swapXY.density

0th

Percentile

Swaps x and y coordinates of a density object

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

Keywords
methods, internal
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.

Aliases
  • swapXY.density
Documentation reproduced from package R.utils, version 1.28.4, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.