normSpectra2D: Normalize a Spectra2D Object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/normSpectra2D.R

Description

This function carries out normalization of the spectra in a Spectra2D object. The current options are:

Usage

1
normSpectra2D(spectra, method = "zero2one")

Arguments

spectra

An object of S3 class Spectra2D to be normalized.

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

1
2
3
4
data(MUD1)
MUD1n <- normSpectra2D(MUD1)
MUD1b <- removeFreq(MUD1, remF2 = 2.5 ~ 3.5)
MUD1bn <- normSpectra2D(MUD1b)

bryanhanson/ChemoSpec2D documentation built on Oct. 14, 2021, 9:41 p.m.