Learn R Programming

visualFields (version 0.2-4)

vfgrayscale: gray scales for sensitivities

Description

maps sensitivity values to grayscales

Usage

vfgrayscale( sens, age, pattern, algorithm )

Arguments

sens
an array with sensitivity values
age
age of the subject
algorithm
algorithm used in the visual test
pattern
pattern used in the visual test

Value

  • returns the RGB values for the gray scale

Details

This function maps sensitivity values to grayscales. The grayscale depends on age of the person, test pattern and algorithm

See Also

vfcolormap

Examples

Run this code
# DO NOT EXECUTE
#vfgrayscale( sens )

Run the code above in your browser using DataLab