Learn R Programming

EFAtools (version 1.0.0)

print.efa_sl_loadings: Print an efa_sl_loadings object

Description

Print an efa_sl_loadings object

Usage

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

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

Arguments

x

class efa_sl_loadings matrix.

cutoff

numeric. The value at or above which loadings are emphasized (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_fit(test_models$baseline$cormat, N = 500, n_factors = 3,
                   estimator = "PAF", rotation = "promax")
efa_schmid_leiman(EFA_mod, estimator = "PAF")

Run the code above in your browser using DataLab