plotGroupEllipses: Adds ellipses to an existing plot for each of your groups

View source: R/plotGroupEllipses.R

plotGroupEllipsesR Documentation

Adds ellipses to an existing plot for each of your groups

Description

This function loops over each community and group within, and plots an ellipse around the data. See demonstration scripts for more examples.

Usage

plotGroupEllipses(siber, plot.args = list(), iso.order = c(1, 2), ...)

Arguments

siber

a siber object as created by createSiberObject

plot.args

a list of plotting arguments for passing to addEllipse(). See addEllipse() for details of the options, and you can also pass additional arguments such as line widths and styles. 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

Ellipses, drawn as lines on an existing figure.


AndrewLJackson/SIBER documentation built on Oct. 21, 2023, 8:09 a.m.