exLong: Simulated Data set to Demonstrate Longitudinal Measurement...

Description Usage Format Source Examples

Description

A simulated data set with 1 factors with 3 indicators in three timepoints

Usage

1

Format

A data.frame with 200 observations of 10 variables.

sex

Sex of respondents

y1t1

Indicator 1 in Time 1

y2t1

Indicator 2 in Time 1

y3t1

Indicator 3 in Time 1

y1t2

Indicator 1 in Time 2

y2t2

Indicator 2 in Time 2

y3t2

Indicator 3 in Time 2

y1t3

Indicator 1 in Time 3

y2t3

Indicator 2 in Time 3

y3t3

Indicator 3 in Time 3

Source

Data were generated using the simsem package.

Examples

1

Example output

Loading required package: lavaan
This is lavaan 0.6-3
lavaan is BETA software! Please report any bugs.
 
###############################################################################
This is semTools 0.5-1
All users of R (or SEM) are invited to submit functions or ideas for functions.
###############################################################################
     sex       y1t1       y2t1        y3t1       y1t2        y2t2      y3t2
1 female  2.7625423  2.2812510  2.49656014  2.9499400  1.12338865 2.1505466
2 female  0.2707267 -0.7830365 -0.23554656  0.4631038  0.37536412 2.0283960
3 female -0.2604141  0.3146881  1.21590069  0.3528803  0.00986991 1.0709696
4 female -1.0227953 -1.3454733  0.04899156  1.9530137 -1.03357363 2.7817132
5 female  0.7385408 -0.6027341  0.42557808 -0.2027779 -0.34937717 1.1865013
6 female  0.5864878 -0.4659974  0.10691644  0.7869085 -0.31982170 0.4825864
       y1t3       y2t3       y3t3
1  1.912824  1.9625734  2.4403812
2  2.112440  0.4326280  2.6352259
3  1.472736  1.1951005  1.4287358
4  1.249376 -0.5369589  2.3371304
5  1.425101  1.8539630  2.0861627
6 -1.201912 -2.0090700 -0.8366951

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