print.COMPARE: Print COMPARE object

Description Usage Arguments Examples

View source: R/print.COMPARE.R

Description

Print Method showing a summarized output of the COMPARE function.

Usage

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

Arguments

x

list. An object of class COMPARE to be printed

...

Further arguments for print.

Examples

1
2
3
4
5
6
7
8
9
# 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 March 27, 2021, 9:08 a.m.