Learn R Programming

CVD (version 1.0.2)

scoreD15Graphic: Graphical score for the D-15 tests

Description

scoreD15Graphic computes the graphical score for the D-15 test or similar. The input is either a vector of RGB colors or cap positions.

Usage

scoreD15Graphic(userD15colors=NULL,userD15values=NULL, titleGraphic= "Farnsworth dichotomous test (D-15) results", okD15colors=NULL)

Arguments

userD15colors
RGB colors chosen by tester
userD15values
position values chosen by tester
titleGraphic
title for the graphic
okD15colors
vector with RGB colors in the correct sequence

Value

none

References

Farnsworth D. The Farnsworth Dichotomous Test for Color Blindness Panel D-15 Manual. New York, The Psychological Corp., 1947, pp. 1-8.

Examples

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

Run the code above in your browser using DataLab