Operates a Principal Component Analysis on the Y
outcome/response matrix by a singular
Value Decomposition (the pre-processing involves the mean-centering of Y
).
Outputs are represented with the functions pcaScorePlot
,
pcaLoading1dPlot
, pcaLoading2dPlot
and pcaScreePlot
.
Arguments
- Y
The \(n \times m\) matrix with \(n\) observations and \(m\) (response) variables.
- lmpDataList
A list with outcomes, design and formula, as outputted by
data2LmpDataList
.- nPC
Number of Principal Components to extract.