print() shows a summary of an efa_average() result: the averaging method, the
varied settings, the number of averaged and excluded EFAs, the
indicator-to-factor correspondences, the loadings (and, for oblique solutions,
the factor intercorrelations), the variances accounted for, and the model fit.
format() returns the same lines as a character vector. The lines follow the
active console theme, so they are plain when colours are disabled.
Arguments
- x
An object of class
efa_average(output fromefa_average()).- stat
character. The statistics to print: any combination of "average", "sd", "range", "min", and "max". Default is "average" and "range".
- plot
logical. If TRUE,
print()also draws the plot of the average, minimum, and maximum loadings (for at most 10 factors). Default is FALSE. To get the plot object, useplot.efa_average().- ...
Not used; for consistency with the generic.
Value
print() returns its argument x invisibly. format() returns a
character vector with the report lines.
Examples
# \donttest{
EFA_aver <- efa_average(test_models$baseline$cormat, n_factors = 3, N = 500)
EFA_aver
#>
#> Averaging method: mean. Varied settings: init_comm, criterion_type, k_promax,
#> p_type, and varimax_type.
#>
#> All 72 EFAs were averaged. Admissible (at least two salient loadings on each
#> factor): 72.
#>
#> ══ Indicator-to-Factor Correspondences ═════════════════════════════════════════
#>
#> All averaged solutions have the same salient loadings (absolute value of at
#> least 0.3).
#>
#> ══ Loadings ════════════════════════════════════════════════════════════════════
#>
#> ── Mean ────────────────────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> V1 -.019 .056 .588
#> V2 .022 .083 .466
#> V3 .079 .073 .440
#> V4 .119 .017 .532
#> V5 .169 .006 .426
#> V6 -.042 -.023 .672
#> V7 .027 .515 .110
#> V8 .010 .558 .051
#> V9 .060 .530 .022
#> V10 .004 .644 -.043
#> V11 .039 .351 .237
#> V12 .046 .625 .016
#> V13 .590 .105 -.035
#> V14 .527 -.039 .104
#> V15 .540 .143 -.039
#> V16 .534 -.022 .108
#> V17 .634 -.010 .000
#> V18 .535 .029 .071
#>
#> ── Range (max − min) ───────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> V1 .098 .077 .092
#> V2 .076 .061 .063
#> V3 .064 .064 .052
#> V4 .069 .087 .069
#> V5 .046 .079 .047
#> V6 .108 .097 .121
#> V7 .059 .043 .052
#> V8 .059 .057 .064
#> V9 .048 .052 .072
#> V10 .059 .079 .090
#> V11 .061 .011 .015
#> V12 .058 .067 .084
#> V13 .072 .044 .099
#> V14 .056 .071 .049
#> V15 .062 .035 .098
#> V16 .055 .071 .052
#> V17 .081 .064 .084
#> V18 .055 .060 .064
#>
#> ══ Factor Intercorrelations from Oblique Solutions ═════════════════════════════
#>
#> ── Mean ────────────────────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> F1 1.000
#> F2 .536 1.000
#> F3 .568 .553 1.000
#>
#> ── Range (max − min) ───────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> F1 .000
#> F2 .204 .000
#> F3 .255 .248 .000
#>
#> ══ Variances Accounted for ═════════════════════════════════════════════════════
#>
#> ── Mean ────────────────────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> SS loadings 2.195 2.074 2.038
#> Prop Tot Var .122 .115 .113
#> Prop Comm Var .348 .329 .323
#>
#> ── Range (max − min) ───────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> SS loadings .036 .052 .063
#> Prop Tot Var .002 .003 .003
#> Prop Comm Var .006 .008 .010
#>
#> ══ Model Fit ═══════════════════════════════════════════════════════════════════
#>
#> Each value is the mean of the fit indices of the solutions, not the fit of the
#> averaged loadings.
#>
#> M (SD) [Min; Max]
#> χ²: 123.92 ( 0.01) [123.92; 123.93]
#> df: 102
#> p: .069 (.000) [.069; .069]
#> CFI: .99 (.00) [.99; .99]
#> TLI: .98 (.00) [.98; .98]
#> RMSEA: .02 (.00) [.02; .02]
#> AIC: -80.08 ( 0.01) [-80.08; -80.07]
#> BIC: -509.97 ( 0.01) [-509.97; -509.96]
#> ECVI: 0.52 ( 0.00) [ 0.52; 0.52]
#> CAF: .50 (.00) [.50; .50]
#> RMSR: .03 (.00) [.03; .03]
#> SRMR: .02 (.00) [.02; .02]
# format() returns the same lines as a character vector:
writeLines(format(EFA_aver))
#>
#> Averaging method: mean. Varied settings: init_comm, criterion_type, k_promax,
#> p_type, and varimax_type.
#>
#> All 72 EFAs were averaged. Admissible (at least two salient loadings on each
#> factor): 72.
#>
#> ══ Indicator-to-Factor Correspondences ═════════════════════════════════════════
#>
#> All averaged solutions have the same salient loadings (absolute value of at
#> least 0.3).
#>
#> ══ Loadings ════════════════════════════════════════════════════════════════════
#>
#> ── Mean ────────────────────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> V1 -.019 .056 .588
#> V2 .022 .083 .466
#> V3 .079 .073 .440
#> V4 .119 .017 .532
#> V5 .169 .006 .426
#> V6 -.042 -.023 .672
#> V7 .027 .515 .110
#> V8 .010 .558 .051
#> V9 .060 .530 .022
#> V10 .004 .644 -.043
#> V11 .039 .351 .237
#> V12 .046 .625 .016
#> V13 .590 .105 -.035
#> V14 .527 -.039 .104
#> V15 .540 .143 -.039
#> V16 .534 -.022 .108
#> V17 .634 -.010 .000
#> V18 .535 .029 .071
#>
#> ── Range (max − min) ───────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> V1 .098 .077 .092
#> V2 .076 .061 .063
#> V3 .064 .064 .052
#> V4 .069 .087 .069
#> V5 .046 .079 .047
#> V6 .108 .097 .121
#> V7 .059 .043 .052
#> V8 .059 .057 .064
#> V9 .048 .052 .072
#> V10 .059 .079 .090
#> V11 .061 .011 .015
#> V12 .058 .067 .084
#> V13 .072 .044 .099
#> V14 .056 .071 .049
#> V15 .062 .035 .098
#> V16 .055 .071 .052
#> V17 .081 .064 .084
#> V18 .055 .060 .064
#>
#> ══ Factor Intercorrelations from Oblique Solutions ═════════════════════════════
#>
#> ── Mean ────────────────────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> F1 1.000
#> F2 .536 1.000
#> F3 .568 .553 1.000
#>
#> ── Range (max − min) ───────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> F1 .000
#> F2 .204 .000
#> F3 .255 .248 .000
#>
#> ══ Variances Accounted for ═════════════════════════════════════════════════════
#>
#> ── Mean ────────────────────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> SS loadings 2.195 2.074 2.038
#> Prop Tot Var .122 .115 .113
#> Prop Comm Var .348 .329 .323
#>
#> ── Range (max − min) ───────────────────────────────────────────────────────────
#>
#> F1 F2 F3
#> SS loadings .036 .052 .063
#> Prop Tot Var .002 .003 .003
#> Prop Comm Var .006 .008 .010
#>
#> ══ Model Fit ═══════════════════════════════════════════════════════════════════
#>
#> Each value is the mean of the fit indices of the solutions, not the fit of the
#> averaged loadings.
#>
#> M (SD) [Min; Max]
#> χ²: 123.92 ( 0.01) [123.92; 123.93]
#> df: 102
#> p: .069 (.000) [.069; .069]
#> CFI: .99 (.00) [.99; .99]
#> TLI: .98 (.00) [.98; .98]
#> RMSEA: .02 (.00) [.02; .02]
#> AIC: -80.08 ( 0.01) [-80.08; -80.07]
#> BIC: -509.97 ( 0.01) [-509.97; -509.96]
#> ECVI: 0.52 ( 0.00) [ 0.52; 0.52]
#> CAF: .50 (.00) [.50; .50]
#> RMSR: .03 (.00) [.03; .03]
#> SRMR: .02 (.00) [.02; .02]
# }