Description Usage Arguments Value Author(s) References Examples
Converts wavelengths in nanometers into corresponding visible colors.
1 | wav2RGB(wav)
|
wav |
Numeric vector of wavelengths (in nanometers) to convert into colors. |
Returns a character vector of the same length as wav
, with an RGB color for each wavelength. Wavelengths out of visible ranges return black.
Sylvain Mareschal
http://codingmess.blogspot.fr/2009/05/conversion-of-wavelength-in-nanometers.html
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.