pca
Principal component analysis on a data frame.
Return
the PCA model.
Parameters
data
training data.
cor
true to use correlation matrix instead of covariance matrix.
columns
the column names to use. If empty, all columns are used.
Principal component analysis on a raw matrix.
Return
the PCA model.
Parameters
data
training data of which each row is a sample.
cor
true to use correlation matrix instead of covariance matrix.
columns
optional column names for projected data frame.