| categorical | R Documentation |
Applies the categorical colour vision model of Troje (1993)
categorical(vismodeldata)
vismodeldata |
(required) quantum catch color data. Can be either the result
from |
Object of class colspace consisting of the following columns:
R7p, R7y, R8p, R8y: the quantum catch data used to
calculate the remaining variables.
x, y: cartesian coordinates in the categorical colour space.
r.vec: the r vector (saturation, distance from the center).
h.theta: angle theta (in radians), a continuous measure of stimulus hue.
category: fly-colour category. One of p-y-, p-y+, p+y-, p+y+.
Thomas White thomas.white026@gmail.com
Troje N. (1993). Spectral categories in the learning behaviour of blowflies. Zeitschrift fur Naturforschung C, 48, 96-96.
data(flowers)
vis.flowers <- vismodel(flowers, visual = "musca", achromatic = "md.r1")
cat.flowers <- colspace(vis.flowers, space = "categorical")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.