cfa_example {semptools}R Documentation

Sample dataset pa_example

Description

A sample dataset for fitting a confirmatory factor analysis model.

Usage

cfa_example

Format

An object of class data.frame with 200 rows and 14 columns.

Details

Fourteen variables (x01 to x14), 200 cases.

Sample model to fit (in lavaan::model.syntax notation)

mod <-
 'f1 =~ x01 + x02 + x03
  f2 =~ x04 + x05 + x06 + x07
  f3 =~ x08 + x09 + x10
  f4 =~ x11 + x12 + x13 + x14
 '

[Package semptools version 0.2.10 Index]