Performs the principal components analysis.
prcomp(x, ...)# S4 method for ddmatrix
prcomp(x, retx = TRUE, center = TRUE,
scale. = FALSE, tol = NULL, ...)
numeric distributed matrix.
Ignored.
logical, indicates whether the rotated variables should be returned
logical value, determines whether or not columns are zero centered
logical value, determines whether or not columns are rescaled to unit variance
a value indicating the magnitude below which components should be
omitted. (Components are omitted if their standard deviations are less than
or equal to tol
times the standard deviation of the first component.)
With the default null setting, no components are omitted. Other settings
for tol could be tol = 0
or tol = sqrt(.Machine$double.eps)
,
which would omit essentially constant components
Returns a list.
prcomp()
performs the principal components analysis on the data
matrix by taking the SVD. Sometimes core R and pbdDMAT will disagree
slightly in what the rotated variables are because of how the SVD is
caluclated.