convexhull: Convex Hull of a pointset

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Convex Hull of a pointset in plane.

Usage

1

Arguments

x

The data as a matrix, data frame or list. If it is a matrix or data frame, then each row is viewed as one bivariate observation. If it is a list, all components must be numerical vectors of equal length (coordinates of observations).

y

The data as a matrix, data frame or list. If it is a matrix or data frame, then each row is viewed as one bivariate observation. If it is a list, all components must be numerical vectors of equal length (coordinates of observations).

...

For future use.

Details

In dimension 2, calculates Convex Hull of a pointset.

Value

Returns with respect to data set, ordered set of points on the convex hull.

Author(s)

Nabil Mustafa, Saurabh Ray, and Mudassir Shabbir.

References

N. Mustafa, S. Ray, and M. Shabbir, Statistical Data Depth of Pointsets in the Plane,in prep..

See Also

inflate

Examples

1
2
3
## calculation of centroid of a random pointset
z = matrix(rnorm(24),nc=2)
x = convexhull(z)


Search within the rsdepth package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.