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

plotGroupHulls

Plots illustrative convex hulls for each group within all communities


Description

This function loops over each community and group within, and plots a convex hull around the data. N.B. use of convex hulls to compare isotopic niche width among groups within or between communities is not recommended owing to strong sample size bias. Use of ellipse area is recommended instead. This feature is provided for illustrative purposes only, and because some people have expressed a desire for this feature for figure generation. See demonstration scripts for more examples.

Usage

plotGroupHulls(siber, plot.args = NULL, iso.order = c(1, 2), ...)

Arguments

siber

a siber object as created by createSiberObject

plot.args

a list of plotting arguments for passing to lines. See lines for details of the options. See also the demonstration scripts for examples of use.

iso.order

a vector of length 2, either c(1,2) or c(2,1). The order determines which of the columns of raw data are plotted on the x (1) or y (2) axis. N.B. this will be deprecated in a future release, and plotting order will be achieved at point of data-entry.

...

additional arguments to be passed to addEllipse.

Value

A series of convex hulls added to an existing plot.


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.