w_number {ggspectra} | R Documentation |
Deprecated functions
Description
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.
Usage
w_number(w.length, unit.exponent = 0)
w_frequency(w.length, unit.exponent = 0)
Arguments
w.length |
numeric wavelength (nm) |
unit.exponent |
integer Exponent of the scale multiplier implicit in result, e.g., use 3 for kJ. |
Deprecated
These functions will be removed from package 'ggpmisc' in the near future.
See Also
See wl2wavenumber
for the functions to
be used in all new code.
Examples
library(photobiology)
wl2wavenumber(600)
wl2frequency(600)
[Package ggspectra version 0.3.12 Index]