Description Usage Arguments Details Value Author(s) Examples
Class PCAnalysis contains methods for simple PCA analyis
PCAnalysis is a PCA constructor function
1 2 3 | PCAnalysis(dataObject, nComp, ...)
PCAnalysis(dataObject, nComp, ...)
|
dataObject |
object of type MassImage |
nComp |
integer number of components |
... |
further args |
Class PCAnalysis contains methods for simple PCA analysis
PCAnalysis constructor function uses call by reference. The new object is
put into the analysis slot of the dataObject on which PCA was
calculated.
PCAnalysis class object
Lorenz Gerber <lorenz.gerber@slu.se>
1 2 3 4 5 6 7 8 9 | testImage<-MassImage('dummy')
testImage<-PCAnalysis(testImage, 4)
image(analysis(testImage, 1), comp = 1)
## Not run:
library(tofsimsData)
data(tofsimsData)
testImage<-PCAnalysis(testImage, nComp = 4)
image(analysis(testImage, 1), comp = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.