hullArea: Calculate the area of a convex hull given its coordinates

Description Usage Arguments Value

Description

Given the coordinates of a convex hull (i.e. a polygon), this function calculates its area. Not intended for direct use outside of siberConvexhull.

Usage

1
hullArea(x, y)

Arguments

x

a vector of x-axis data

y

a vector of y-axis data

Value

a scalar representing the area of the convex hull in units of x * y; i.e. most commonly in permille squared for isotope data.



Search within the SIBER 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.