Skip to contents

Extract unique factor structures across the k-folds

Usage

model_structure(models)

Arguments

models

An object returned from kfa

Value

data.frame with the number of folds the unique factor structure was tested for each factor model.

Examples

data(example.kfa)
model_structure(example.kfa)
#>                                                                                                                      structure
#> 1           f1 =~ x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 + x11 + x12 + x13 + x14 + x15 + x16 + x17 + x18 + x19 + x20
#> 2      f1 =~ x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 + x11 + x12 + x13 + x14\nf2 =~ x15 + x16 + x17 + x18 + x19 + x20
#> 3 f1 =~ x1 + x2 + x3 + x4 + x5 + x6 + x7\nf2 =~ x8 + x9 + x10 + x11 + x12 + x13 + x14\nf3 =~ x15 + x16 + x17 + x18 + x19 + x20
#>      model folds
#> 1 1-factor     2
#> 2 2-factor     1
#> 3 3-factor     2