Calculates segment classification measures as defined in
Endler (1990)
Usage
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.
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.