Rdocumentation
powered by
Learn R Programming
semTools (version 0.4-12)
dat3way: 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
data(dat3way)
Arguments
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 was generated by the
mvrnorm
function in the
MASS
package.
Examples
Run this code
head(dat3way)
Run the code above in your browser using
DataLab