Simulated responses for 900 observations on 20 variables loading onto a 3 factor
structure (see example in kfa documentation for model).
The simulated data was run through kfa with the call
kfa(sim.data, k = 2, m = 3) which tested 1-, 2-, and 3-factor structures over 2 folds.
Usage
data(example.kfa)Format
An object of class "kfa", which is a four-element list:
cfas
lavaanCFA objects for each k foldcfa.syntax syntax used to produce CFA objects
model.names vector of names for CFA objects
efa.structures all factor structures identified in the EFA
Examples
data(example.kfa)
agg_cors(example.kfa)
#> $correlations
#> $correlations$`1-factor`
#> NULL
#>
#> $correlations$`2-factor`
#> rn f1 f2 flag
#> 1 f1 1.0000000 NA 0
#> 2 f2 0.2400752 1 0
#>
#> $correlations$`3-factor`
#> rn f1 f2 f3 flag
#> 1 f1 1.0000000 NA NA 0
#> 2 f2 0.2057429 1.0000000 NA 0
#> 3 f3 0.1676734 0.1566721 1 0
#>
#>
#> $flag
#> 1-factor 2-factor 3-factor
#> NA 0 0
#>