dat2way {semTools} | R Documentation |
Simulated Dataset to Demonstrate Two-way Latent Interaction
Description
A simulated data set with 2 independent factors and 1 dependent factor where each factor has three indicators
Usage
dat2way
Format
A data.frame
with 500 observations of 9 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 dependent factor
- x8
The second indicator of the dependent factor
- x9
The third indicator of the dependent factor
Source
Data were generated by the mvrnorm
function in
the MASS
package.
Examples
head(dat2way)
[Package semTools version 0.5-6 Index]