R: Simulated Dataset to Demonstrate Three-way Latent Interaction

dat3way {semTools} | R Documentation

## Simulated Dataset to Demonstrate Three-way Latent Interaction

### Description

A simulated data set with 3 independent factors and 1 dependent factor where each factor has three indicators

### Usage

    dat3way

### Format

A `data.frame` with 500 observations of 12 variables.

x1

  The first indicator of the first independent factor

x2

  The second indicator of the first independent factor

x3

  The third indicator of the first independent factor

x4

  The first indicator of the second independent factor

x5

  The second indicator of the second independent factor

x6

  The third indicator of the second independent factor

x7

  The first indicator of the third independent factor

x8

  The second indicator of the third independent factor

x9

  The third indicator of the third independent factor

x10

  The first indicator of the dependent factor

x11

  The second indicator of the dependent factor

x12

  The third indicator of the dependent factor

### Source

Data were generated by the `mvrnorm` function in the `MASS` package.

### Examples

    head(dat3way)

[Package semTools version 0.5-0 Index]