PCAnalysis: Class PCAnalysis

Description Usage Arguments Details Value Author(s) Examples

Description

Class PCAnalysis contains methods for simple PCA analyis

PCAnalysis is a PCA constructor function

Usage

1
2
3
PCAnalysis(dataObject, nComp, ...)

PCAnalysis(dataObject, nComp, ...)

Arguments

dataObject

object of type MassImage

nComp

integer number of components

...

further args

Details

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.

Value

PCAnalysis class object

Author(s)

Lorenz Gerber <lorenz.gerber@slu.se>

Examples

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)


Search within the tofsims package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.