plot.factorAnalysis: Plot a factor solution

Description Usage Arguments Value See Also Examples

View source: R/plot.factorAnalysis.R

Description

This function plots the pattern matrix for a principal components or common factor analysis solution

Usage

1
2
## S3 method for class 'factorAnalysis'
plot(x, sort = TRUE, type = c("table", "bar"), ...)

Arguments

x

an object of class factorAnalysis produced by the PCA or FA functions.

sort

logical. If TRUE, sort the pattern matrix.

type

generate a table plot ("table") or bar plot ("bar").

...

not currently used

Value

a ggplot2 graph

See Also

PCA and FA.

Examples

1
2
3
fit.pca <- PCA(Harman74.cor$cov, nfactors=4, rotate="varimax")
plot(fit.pca)
plot(fit.pca, type="bar")

Rkabacoff/qacr documentation built on March 20, 2021, 3:03 p.m.