pcaLoadings {tofsims} | R Documentation |
generic accessor for slot pcaLoadings
PCA accessor pcaLoadings
, loading matrix
PCA accessor pcaLoadings
, loading matrix
pcaLoadings(object, comps = c(1, 2)) ## S4 method for signature 'PCA,missing' pcaLoadings(object) ## S4 method for signature 'PCA,numeric' pcaLoadings(object, comps = c(1, 2))
object |
object of class PCA |
comps |
numeric number of components |
contents of slot pcaLoadings
matrix numeric with loadings
vector or matrix numeric with loadings according comps
library(tofsimsData) data(tofsimsData) testImage<-PCAnalysis(testImage,4) plot(pcaLoadings(analysis(testImage,1), comps = c(1,2)))