File: swapXY.density.Rd

package info (click to toggle)
r-cran-r.utils 2.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,864 kB
  • sloc: sh: 18; makefile: 6
file content (41 lines) | stat: -rw-r--r-- 920 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
% 
%  density.EXTS.R
% 
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\name{swapXY.density}
\alias{swapXY.density}

\title{Swaps x and y coordinates of a density object}

\description{
 Swaps x and y coordinates of a density object returned by \code{\link[stats]{density}}.
}

\usage{
\method{swapXY}{density}(object, ...)
}

\arguments{
  \item{...}{Not used.}
}

\value{
  Returns a 'density' object of the same class with
  elements 'x' and 'y' swapped.
}

\author{Henrik Bengtsson}

\seealso{
  See \code{\link[stats]{density}} for estimating densities.
  See \code{\link[R.utils:draw.density]{*draw}()} for plotting a density along one of the sides.
}


\keyword{methods}
\keyword{internal}