Segment classification

Description

Calculates segment classification measures as defined in Endler (1990)

Usage

1
segclass(rspecdata, range = c(300, 700))

Arguments

rspecdata

(required) a data frame, such as objects of class rspec, with a column containing wavelength range, named 'wl' and spectra data in remaining columns.

range

vector of length 2 indicating the lower and upper wavelength bounds used to calculate segments (defaults to 300nm to 700nm).

Value

A data frame with LM and MS segment classification scores.

Author(s)

Pierre-Paul Bitton bittonp@uwindsor.ca

References

Endler, J. A. (1990) On the measurement and classification of color in studies of animal color patterns. Biological Journal of the Linnean Society, 41, 315-352.

Examples

1
2
3
4
## Not run: 
data(sicalis)
segclass(sicalis) 
## End(Not run)