Build a convex hull of the data in a data frame using
convhulln.
Usage
build.normalhull(inputframe)
Arguments
inputframe
A data frame, containing isotopic measurements in data frames
imported from files using build.isotopeframe.
Details
Use the convhulln package to build a convex hull of the
isotopic measurements given by the input data frame. The data frame is
assumed to have the measurements presented one per row. If there are
multiple species present in the data frame, they must be added as
extra columns, and the order of the columns for each species must be
the same.
Value
Return a m \times d+1 matrix [A|b] representing the convex
hull of the system of equations Ax ≤q -b.
Author(s)
Robert Robere
See Also
convhulln
Examples
## Not run: ## read in data from some files
## Not run: input <- build.isotopeframe("predfile", "preyfile")
## Not run: ## get the convex hull of the predator data
## Not run: hull <- build.normalhull(input$pred.frame)