datCat: Simulated Data set to Demonstrate Categorical Measurement...

Description Usage Format Source Examples

Description

A simulated data set with 2 factors with 4 indicators each separated into two groups

Usage

1

Format

A data.frame with 200 observations of 9 variables.

g

Sex of respondents

u1

Indicator 1

u2

Indicator 2

u3

Indicator 3

u4

Indicator 4

u5

Indicator 5

u6

Indicator 6

u7

Indicator 7

u8

Indicator 8

Source

Data were generated using the lavaan package.

Examples

1

Example output

Loading required package: lavaan
This is lavaan 0.5-23.1097
lavaan is BETA software! Please report any bugs.
 
###############################################################################
This is semTools 0.4-14
All users of R (or SEM) are invited to submit functions or ideas for functions.
###############################################################################
  u1 u2 u3 u4 u5 u6 u7 u8    g
1  3  3  2  2  3  2  2  3 male
2  3  2  2  2  2  3  3  2 male
3  3  2  3  1  4  3  3  3 male
4  1  3  2  1  3  2  2  3 male
5  3  4  3  4  4  4  5  3 male
6  3  4  3  3  4  3  2  1 male

semTools documentation built on Jan. 13, 2021, 8:09 p.m.