Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hullArea

Calculate the area of a convex hull given its coordinates


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

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.


SIBER

Stable Isotope Bayesian Ellipses in R

v2.1.6
GPL (>= 2)
Authors
Andrew Jackson and Andrew Parnell
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.