Description Usage Arguments Details Value Author(s) References See Also
First axis of Principal Component Analysis using power method.
1 |
Y |
Data matrix. |
scale |
Scale columns to unit variance. |
This is the poorest algorithm of performing PCA, and is included only to show how simple it is. The function only finds one axis. It would be possible to find later axes by orthogonalizing against previous axes, but that is not worthwhile with an algorithm as poor as this one.
The function returns an object with items:
eig |
Eigenvalue of the first axis. |
ueig |
Rowscores scaled by eigenvalues. |
v |
Orthonormal column scores. |
Jari Oksanen.
?
PCA
and PCAeig
for better algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.