Manrotate

From Eigenvector Research Documentation Wiki
Revision as of 14:25, 3 September 2008 by imported>Jeremy (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Graphical interface to manually rotate model loadings and investigate directions in the scores.

Synopsis

manrotate(model,lvs)

Description

MANROTATE shows a score vs. score scatter plot and model loadings and allows the user to "rotate" the loadings. The loadings (shown as two colored lines in the score/score plot) can be dragged through different angles observing the resulting loading shape in the loadings plot (Loadings are always kept orthogonal.)

This interface is useful to identify a loading "shapes" which point towards, and orthogonal to, a given sample cluster or direction.

The user clicks on the heavy lines in the scores plot and "drags" them to point in a selected direction. The loadings (shown on the right in the figure) are automatically updated to show the loading which accounts for the new direction in the scores plot. The rotated loading vectors can be saved to the workspace using the toolbar save button.

Inputs include a PCA, PLS, PCR, or other 2-way factor-based model, model, and an optional input, lvs, which is a two-element vector specifying which of the model factors should be plotted and rotated (default = [1 2] which plots factor 2 vs factor 1.)


See Also

pca, pcr, pls, varimax