fa.sort {psych}R Documentation

Sort factor analysis or principal components analysis loadings

Description

Although the print.psych function will sort factor analysis loadings, sometimes it is useful to do this outside of the print function. fa.sort takes the output from the fa or principal functions and sorts the loadings for each factor. Items are located in terms of their greatest loading. The new order is returned as an element in the fa list.

Usage

fa.sort(fa.results,polar=FALSE)

Arguments

fa.results

The output from a factor analysis or principal components analysis using fa or principal.

polar

Sort by polar coordinates of first two factors (FALSE)

Details

The fa.results$loadings are replaced with sorted loadings.

Value

A sorted factor analysis, principal components analysis, or omega loadings matrix.

These sorted values are used internally by the various diagram functions.

The values returned are the same as fa, except in sorted order. In addition, the order is returned as an additional element in the fa list.

Author(s)

William Revelle

See Also

See Also as fa,print.psych, fa.diagram,

Examples

test.simple <- fa(item.sim(16),2,rotate="oblimin")
fa.sort(test.simple)

[Package psych version 1.3.2 Index]