Description Usage Arguments Value Examples
Creates a factor loading table
1 2 | loadings_table_psych(psych_object, cutoff = 0.2, roundto = 3,
trim = 0, fac.lab = NULL, var.lab = NULL, communalities = T)
|
psych_object |
The Factor analysis psych object |
cutoff |
loadings whose absolute value are less than this are excluded |
roundto |
rounding to how many digits |
trim |
Removes the first n characters of the Description column when rendering the table. |
fac.lab |
Alternative factor labels |
var.lab |
Alternative variable labels |
communalities |
include communalities? |
A table with rounded factor loadings, ommiting weak loadings with variable information on the side.
1 2 3 4 | library(datasets)
corr.matrix <- cor(mtcars)
results <- psych::fa(corr.matrix, 3, rotate = "varimax")
FAtools::loadings_table_psych(results, cutoff = 0.3, roundto = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.