Learn R Programming

CVD (version 1.0.2)

scoreRoth28Graphic: Graphical score for the D-15 tests

Description

scoreRoth28Graphic computes the graphical score for the Roth-28 test or similar. The input is either a vector of RGB colors or cap positions.

Usage

scoreRoth28Graphic(userR28colors=NULL,userR28values=NULL, titleGraphic= "Roth-28 test results", okR28colors=NULL)

Arguments

userR28colors
RGB colors chosen by tester
userR28values
position values chosen by tester
titleGraphic
title for the graphic
okR28colors
vector with RGB colors in the correct sequence

Value

none

References

Carl Erb, Martin Adler, Nicole Stübiger, Michael Wohlrab, Eberhart Zrenner, Hans-Jürgen Thiel, Colour vision in normal subjects tested by the colour arrangement test ‘Roth 28-hue desaturated’, Vision Research, Volume 38, Issue 21, November 1998, Pages 3467-3471, ISSN 0042-6989, http://dx.doi.org/10.1016/S0042-6989(97)00433-1.

Examples

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

Run the code above in your browser using DataLab