cfa_dat {semfindr}R Documentation

Sample Data: A CFA Model

Description

A six-variable dataset with 100 cases.

Usage

cfa_dat

Format

A data frame with 100 rows and 6 variables:

x1

Indicator. Numeric.

x2

Indicator. Numeric.

x3

Indicator. Numeric.

x4

Indicator. Numeric.

x5

Indicator. Numeric.

x6

Indicator. Numeric.

Examples

library(lavaan)
data(cfa_dat)
mod <-
"
f1 =~  x1 + x2 + x3
f2 =~  x4 + x5 + x6
"
fit <- cfa(mod, cfa_dat)
summary(fit)

[Package semfindr version 0.1.8 Index]