The R Project SVN R

Rev

Rev 68948 | Rev 88585 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 74265
Line 1... Line 1...
1
% File src/library/grDevices/man/chull.Rd
1
% File src/library/grDevices/man/chull.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2014 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{chull}
6
\name{chull}
7
\alias{chull}
7
\alias{chull}
8
\title{Compute Convex Hull of a Set of Points}
8
\title{Compute Convex Hull of a Set of Points}
Line 28... Line 28...
28
  An integer vector giving the indices of the unique points lying on the
28
  An integer vector giving the indices of the unique points lying on the
29
  convex hull, in clockwise order.  (The first will be returned for
29
  convex hull, in clockwise order.  (The first will be returned for
30
  duplicate points.)
30
  duplicate points.)
31
}
31
}
32
\references{
32
\references{
33
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
33
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988).
34
  \emph{The New S Language}.
34
  \emph{The New S Language}.
35
  Wadsworth & Brooks/Cole.
35
  Wadsworth & Brooks/Cole.
36
 
36
 
-
 
37
  Eddy, W. F. (1977).
37
  Eddy, W. F. (1977) A new convex hull algorithm for planar sets.
38
  A new convex hull algorithm for planar sets.
38
  \emph{ACM Transactions on Mathematical Software}, \bold{3}, 398--403.
39
  \emph{ACM Transactions on Mathematical Software}, \bold{3}, 398--403.
-
 
40
  \doi{10.1145/355759.355766}.
39
 
41
 
40
  Eddy, W. F. (1977) Algorithm 523. CONVEX, A new convex hull
42
  Eddy, W. F. (1977).
41
  algorithm for planar sets[Z]. \emph{ACM Transactions on
43
  Algorithm 523: CONVEX, A new convex hull algorithm for planar sets [Z].
42
    Mathematical Software}, \bold{3}, 411--412.
44
  \emph{ACM Transactions on Mathematical Software}, \bold{3}, 411--412.
-
 
45
  \doi{10.1145/355759.355768}.
-
 
46
}
-
 
47
\seealso{
-
 
48
  \code{\link{xy.coords}},
-
 
49
  \code{\link{polygon}}
43
}
50
}
44
\seealso{\code{\link{xy.coords}}, \code{\link{polygon}}}
-
 
45
 
-
 
46
\examples{
51
\examples{
47
X <- matrix(stats::rnorm(2000), ncol = 2)
52
X <- matrix(stats::rnorm(2000), ncol = 2)
48
chull(X)
53
chull(X)
49
\dontrun{
54
\dontrun{
50
  # Example usage from graphics package
55
  # Example usage from graphics package