print.COMPARE: Print COMPARE object

View source: R/print.COMPARE.R

print.COMPARER Documentation

Print COMPARE object

Description

Print Method showing a summarized output of the COMPARE function.

Usage

## S3 method for class 'COMPARE'
print(x, ...)

Arguments

x

list. An object of class COMPARE to be printed

...

Further arguments for print.

Examples

# A type SPSS EFA to mimick the SPSS implementation
EFA_SPSS_5 <- EFA(IDS2_R, n_factors = 5, type = "SPSS")

# A type psych EFA to mimick the psych::fa() implementation
EFA_psych_5 <- EFA(IDS2_R, n_factors = 5, type = "psych")

# compare the two
COMPARE(EFA_SPSS_5$unrot_loadings, EFA_psych_5$unrot_loadings,
        x_labels = c("SPSS", "psych"))

EFAtools documentation built on Jan. 6, 2023, 5:16 p.m.