sortmatrix: Sort Simple Component Matrix

View source: R/sca.R

sortmatrixR Documentation

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)

Arguments

S

correlation/covariance matrix

P

component matrix

Value

numeric matrix which is just P with columns reordered.

See Also

sca, also for references


sca documentation built on Jan. 14, 2023, 5:07 p.m.

Related to sortmatrix in sca...