segspace: Segment classification

Description Usage Arguments Value Author(s) References Examples

View source: R/segspace.R

Description

Calculates segment classification measures as defined in Endler (1990).

Usage

1
segspace(vismodeldata)

Arguments

vismodeldata

(required) quantum catch color data. Can be either the result from vismodel or independently calculated data (in the form of a data frame with columns named 'S1', 'S2', 'S3', 'S4', and, optionally, 'lum', representing a generic 'tetrachromatic' viewer).

Value

A data frame of class colspace consisting of the following columns:

S1, S2, S3, S4: the relative reflectance at each of the four segments.

LM, MS: segment scores

C, H, B: 'chroma', 'hue' (degrees), and 'brightness' in the segment classification space

Author(s)

Thomas White [email protected]

Pierre-Paul Bitton [email protected]

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
5
6
## Not run: 
data(sicalis)
vis.sic <- vismodel(sicalis, visual = 'segment', achromatic = 'all')
seg.sic <- colspace(vis.sic, space = 'segment') 

## End(Not run)

pavo documentation built on Oct. 3, 2017, 1:04 a.m.