Description Usage Arguments Value Author(s) Examples
View source: R/convertSpectra.R
This function accepts spectra in a single spectra.list
or
spectra.matrix
object performs a specified units conversion.
Conversion between wavelengths and wave numbers are reliable. However,
conversions among transmittance, absorbance, and reflectance are
naive estimations (inverse log10 transformations) provided for convenience.
1 | convertSpectra(x, method = NULL)
|
x |
An object of class |
method |
The desired conversion. Selected from:
|
A spectra.matrix
containing the converted spectra.
Daniel M Griffith
1 2 3 4 5 6 | ## Not run:
data(shootout)
attributes(shootout_scans)
converted_scans <- convertSpectra(x = shootout_scans, method = "WL_to_WN")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.