Learn R Programming

CVD (version 1.0.2)

scoreD15TCDS: Total Color Difference Score (TCDS) for the D-15 tests

Description

scoreD15TCDS computes the Total Color Difference Score (TCDS) for the D-15 test, from Bowman's (1982). The input is either a vector of RGB colors or cap positions.

Usage

scoreD15TCDS(userD15colors=NULL,userD15values=NULL, distTable = get("BowmanTCDS", envir = environment()), D15colors = get("FarnsworthD15", envir = environment()))

Arguments

userD15colors
RGB colors chosen by tester
userD15values
position values chosen by tester
distTable
distance table - matrix with the color distances
D15colors
RGB colors for the CVD test

Value

References

Bowman's (1982) Total Color Difference Score (TCDS) for congenitally defective observers on the D-15 with enlarged tests. K.J. Bowman, A method for quantitative scoring of the Farnsworth Panel D-15, Acta Ophthalmologica, 60 (1982), pp. 907–916

Examples

Run this code
# a "perfect" score
## Not run: 
# scoreD15TCDS(userD15values=1:15)## End(Not run)

Run the code above in your browser using DataLab