factor_cor_plot: Effective Factor Correlation Plot

Description Usage Arguments Value Examples

Description

Plots inter-factor correlations from a psych object

Usage

1
2
factor_cor_plot(psych_object, colors = 5, names = NA, cl.lim = c(-1,
  1), tl.srt = 45, type = "lower")

Arguments

psych_object

object resulting from psych::fa()

colors

The number of colors to be utilized

names

alternative factor names (vector)

cl.lim

Vector range of corrleations to be plotted. Use c(0,1)

tl.srt

Tilt of upper labels

type

argument passed to corrplot

Value

A graphic of correlations

Examples

1
2
3
4
library(datasets)
corr.matrix <- cor(mtcars)
results <- psych::fa(corr.matrix, 5, rotate = "varimax")
factor_cor_plot(results, colors = 10)

mattkcole/FAtools documentation built on May 21, 2019, 1:24 p.m.