siberConvexhull {SIBER}R Documentation

Calculate metrics and plotting information for convex hulls

Description

This function calculates the area of the convex hull describing a set of bivariate points, and returns other information useful for plotting the hull.

Usage

siberConvexhull(x, y)

Arguments

x

a vector of x-axis data

y

a vector of y-axis data

Value

A list of length four comprising:

Examples

x <- stats::rnorm(15)
y <- stats::rnorm(15)
siberConvexhull(x, y)


[Package SIBER version 2.1.9 Index]