print loadings
Usage
apa_loadings(
fit,
sort_loading = TRUE,
min_loading = 0.2,
column_formats = NULL,
complexity = FALSE,
uniqueness = FALSE
)Arguments
- fit
model fit object
- sort_loading
sort table using
psych::fa.sort- min_loading
minimum loading to display
- column_formats
column_formats object to format columns. If NULL, the default column_formats is used.
- complexity
print complexity column in factor analysis table
- uniqueness
print uniqueness column in factor analysis table
Examples
fit <- psych::fa(Harman74.cor$cov, 4, fm = "pa",rotate = "varimax")
apa_loadings(fit) |>
`colnames<-`(c("Tests", "Verbal", "Spatial", "Quantitative", "Memory")) |>
apa_flextable()
Tests
Verbal
Spatial
Quantitative
Memory
SentenceCompletion
.81
WordMeaning
.81
.22
PargraphComprehension
.76
.21
.23
GeneralInformation
.73
.22
WordClassification
.57
.34
.23
VisualPerception
.68
PaperFormBoard
.55
Flags
.23
.53
SeriesCompletion
.37
.52
.23
.22
Cubes
.45
Deduction
.38
.42
.29
ProblemReasoning
.37
.41
.29
Addition
.82
CountingDots
.71
StraightCurvedCapitals
.42
.54
Code
.54
.37
ArithmeticProblems
.36
.49
.29
NumericalPuzzles
.40
.43
.21
ObjectNumber
.22
.58
WordRecognition
.21
.56
NumberRecognition
.52
FigureRecognition
.42
.52
NumberFigure
.31
.34
.45
FigureWord
.25
.35