Learn R Programming

binovisualfields (version 0.1.1)

get_col: Color-codes dB values

Description

get_color returns the color of a visual field location given its dB value (e.g., black = 0dB, white = 35dB)

Usage

get_col(db)

Arguments

db

A number of sensitivity threshold in dB

Value

the color of a visual field location in hcl color space with darker colors corresponding to lower dB values

Examples

Run this code
# NOT RUN {
get_col(25)
# }

Run the code above in your browser using DataLab