Learn R Programming

psych (version 1.8.3.3)

ICLUST.sort: Sort items by absolute size of cluster loadings

Description

Given a cluster analysis or factor analysis loadings matrix, sort the items by the (absolute) size of each column of loadings. Used as part of ICLUST and SAPA analyses. The columns are rearranged by the

Usage

ICLUST.sort(ic.load, cut = 0, labels = NULL,keys=FALSE,clustsort=TRUE)

Arguments

ic.load

The output from a factor or principal components analysis, or from ICLUST, or a matrix of loadings.

cut

Do not include items in clusters with absolute loadings less than cut

labels

labels for each item.

keys

should cluster keys be returned? Useful if clusters scales are to be scored.

clustsort

TRUE will will sort the clusters by their eigenvalues

Value

sorted

A data.frame of item numbers, item contents, and item x factor loadings.

cluster

A matrix of -1, 0, 1s defining each item by the factor/cluster with the row wise largest absolute loading.

...

Details

When interpreting cluster or factor analysis outputs, is is useful to group the items in terms of which items have their biggest loading on each factor/cluster and then to sort the items by size of the absolute factor loading.

A stable cluster solution will be one in which the output of these cluster definitions does not vary when clusters are formed from the clusters so defined.

With the keys=TRUE option, the resulting cluster keys may be used to score the original data or the correlation matrix to form clusters from the factors.

References

https://personality-project.org/r/r.ICLUST.html

See Also

ICLUST.graph,ICLUST.cluster, cluster.fit , VSS, factor2cluster