pcaRes {pcaMethods} | R Documentation |
Class for representing a PCA result
Description
This is a class representation of a PCA result
Creating Objects
new("pcaRes", scores=[the scores], loadings=[the loadings],
k=[amount of PCs], R2cum=[cumulative R2], nobs=[amount of
observations], nvar=[amount of variables], R2=[R2 for each
individual PC], sdev=[stdev for each individual PC], scaled=[which
method was used to scale data], centered=[was data centered],
varLimit=[what variance limit was exceeded], method=[method used to
calculate PCA], subset=[subset of variables of data used],
missing=[amount of NAs], center=[original means])
Slots
- scores
- "matrix", the calculated scores
- loadings
- "matrix", the calculated loadings
- R2cum
- "numeric", the cumulative R2 values
- sDev
- "numeric", the individual standard
deviations
- R2
- "numeric", the individual R2 values
- nObs
- "numeric", amount of observations
- nVar
- "numeric", amount of variables
- centered
- "logical", data was centered or not
- center
- "numeric", the original variable centers
- subset
- "numeric", the subset of variables used
- varLimit
- "numeric", the exceeded variance limit
- scaled
- "characted", the scaled method used
- nPcs
- "numeric", the amount of calculated PCs
- method
- "character", the method used to perform PCA
- missing
- "numeric", the total amount of missing values in
original data
- completeObs
- "matrix", the complete observations
Methods
- print
- Print function
- summary
- Extract information about PC relevance
- screeplot
- Plot a barplot of standard deviations for PCs
- slplot
- Make a side by side score and loadings plot
[Package
pcaMethods version 1.2.3
Index]