w_number | R Documentation |
To convert wavelength into wavenumber or into frequency, please, use the
conversion functions from package 'photobiology' in place of the deprecated
functions w_number()
and w_frequency()
from this package.
w_number(w.length, unit.exponent = 0)
w_frequency(w.length, unit.exponent = 0)
w.length |
numeric wavelength (nm) |
unit.exponent |
integer Exponent of the scale multiplier implicit in result, e.g., use 3 for kJ. |
These functions will be removed from package 'ggpmisc' in the near future.
See wl2wavenumber
for the functions to
be used in all new code.
library(photobiology)
wl2wavenumber(600)
wl2frequency(600)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.