Description Usage Arguments Value Examples

View source: R/siberConvexhull.R

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

1 | ```
siberConvexhull(x, y)
``` |

`x` |
a vector of x-axis data |

`y` |
a vector of y-axis data |

A list of length four comprising:

TAthe area of the convex hull.

hullXthe x-coordinates of the points describing the convex hull.

hullYthe y-coordinates of the points describing the convex hull.

indthe indices of the original data in

`x`

and`y`

that form the boundaries of the convex hull.

1 2 3 | ```
x <- stats::rnorm(15)
y <- stats::rnorm(15)
siberConvexhull(x, y)
``` |

SIBER documentation built on May 30, 2017, 2:03 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.