Description Usage Arguments Value Author(s) References See Also Examples
View source: R/centscaleSpectra2D.R
This function will optionally center, and optionally scale, a Spectra2D
object along the
samples dimension (i.e. this is pixel-wise scaling in the language of multivariate
image analysis). Several scaling options are available.
1 | centscaleSpectra2D(spectra, center = FALSE, scale = "noscale")
|
spectra |
An object of S3 class |
center |
Logical. Should the spectra be centered before possibly scaling? Will give an error
if |
scale |
A character string indicating the type of scaling to apply. One of
|
An object of S3 class Spectra2D
.
Bryan A. Hanson, DePauw University.
R. Bro and A. K. Smilde "Centering and Scaling in Component Analysis" J. Chemometrics vol. 17 pgs 16-33 (2003).
normSpectra2D
for another means of scaling.
1 2 | data(MUD1)
tst <- centscaleSpectra2D(MUD1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.