Skip to content

Commit 555f0a1

Browse files
committed
QS 2nd try
1 parent b9703fd commit 555f0a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

chapter1.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,9 @@ data(liss)
645645

646646
*** =sample_code
647647
```{r}
648+
library(lavaan.survey)
649+
data(liss) # Loads data from the lavaan.survey package
650+
648651
# Formulate the quasi-simplex model for three timepoints
649652
# Adapt this to also include the measurement at 2011, cs11d247
650653
model.qs <- "
@@ -679,7 +682,8 @@ std_estimates
679682

680683
*** =solution
681684
```{r}
682-
685+
library(lavaan.survey)
686+
data(liss) # Loads data from the lavaan.survey package
683687
684688
model.qs <- "
685689
cs08 =~ 1 * cs08a247

0 commit comments

Comments
 (0)