Creates new PCA (Principal Component Analysis) from the dataset
(Matrix)
dataset or covariance matrix
(Object)
| Name | Description |
|---|---|
options.isCovarianceMatrix boolean
(default false)
|
true if the dataset is a covariance matrix |
options.center boolean
(default true)
|
should the data be centered (subtract the mean) |
options.scale boolean
(default false)
|
should the data be scaled (divide by the standard deviation) |
Returns the Eigenvectors of the covariance matrix
Matrix:
Returns the loadings matrix
Matrix: