PrComp
is a wrapper for the S3 function prcompPrComp is a PCA constructor function
prComp(dataObject, ...)
PrComp
is a wrapper for the S3 function prcompPrComp constructor function uses call by reference. The new object is put
into the analysis
slot of the dataObject on which PCA was calculated.
testImage<-MassImage('dummy') testImage<-prComp(testImage) image(analysis(testImage, 1), comp = 1) library(tofsimsData) data(tofsimsData) testImage<-prComp(testImage) image(analysis(testImage, 1), comp = 1)