Learn R Programming

sca (version 0.9-2)

sortmatrix: Sort Simple Component Matrix

Description

Reorder the columns of a component matrix P by decreasing variances of components where the block-components come first, the difference components afterwards.

Usage

sortmatrix(S, P)

Value

numeric matrix which is just P with columns reordered.

Arguments

S

correlation/covariance matrix

P

component matrix

See Also

sca, also for references