normSpectra2D {ChemoSpec2D} | R Documentation |
Normalize a Spectra2D Object
Description
This function carries out normalization of the spectra in a
Spectra2D
object. The current options are:
-
"zero2one"
normalizes each 2D spectrum to a [0 ... 1] scale. -
"minusPlus"
normalizes each 2D spectrum to a [-1 ... 1] scale. -
"TotInt"
normalizes each 2D spectrum so that the total area is one.
Usage
normSpectra2D(spectra, method = "zero2one")
Arguments
spectra |
An object of S3 class |
method |
Character string giving the method for normalization. |
Value
An object of S3 class Spectra2D
.
Author(s)
Bryan A. Hanson, DePauw University.
See Also
centscaleSpectra2D
for another means of scaling.
Examples
data(MUD1)
MUD1n <- normSpectra2D(MUD1)
MUD1b <- removeFreq(MUD1, remF2 = 2.5 ~ 3.5)
MUD1bn <- normSpectra2D(MUD1b)
[Package ChemoSpec2D version 0.5.0 Index]