Learn R Programming

EFAtools (version 0.8.0)

print.SLLOADINGS: Print SLLOADINGS object

Description

Print SLLOADINGS object

Usage

# S3 method for SLLOADINGS
print(x, cutoff = 0.2, digits = 3, color = TRUE, ...)

# S3 method for SLLOADINGS format(x, ...)

Arguments

x

class SLLOADINGS matrix.

cutoff

numeric. The number above which to print loadings in bold (default is .2).

digits

numeric. Passed to round. Number of digits to round the loadings to (default is 3).

color

logical. Whether to apply console styling using cli. Default is TRUE.

...

additional arguments passed to print or format.

Details

Prints a Schmid-Leiman loading matrix (general factor, group factors, and the communality/uniqueness columns) as a styled, decimal-aligned table. Loadings with absolute value greater than or equal to cutoff are emphasised, smaller loadings are de-emphasised, and Heywood-relevant cells (a loading or communality above 1, or a negative uniqueness) are highlighted. If the matrix has many columns or the console is narrow, the table is split into stacked column blocks so the output stays readable.

Examples

Run this code
EFA_mod <- EFA(test_models$baseline$cormat, N = 500, n_factors = 3,
               type = "EFAtools", method = "PAF", rotation = "promax")
SL(EFA_mod, type = "EFAtools", method = "PAF")

Run the code above in your browser using DataLab