@@ -338,7 +338,7 @@ Parameterization using Reference Class 1
338338
339339## Manual ML Three-step
340340
341- ### Unlike the automatic three-step, the manual ML three-step can relate the latent class variable to both distal outcomes and covarites.
341+ Unlike the automatic three-step, the manual ML three-step can relate the latent class variable to both distal outcomes and covarites.
342342
343343``` {r, echo=FALSE, eval=TRUE, fig.align='center'}
344344
@@ -468,7 +468,7 @@ step1_fit <- mplusModeler(step1,
468468------------------------------------------------------------------------
469469
470470
471- ``` {r, fig.height=6, fig. width=10 }
471+ ``` {r, out. width="90%" }
472472source(here("functions", "plot_lca.R"))
473473output_lsay <- readModels(here("three_step", "manual_3step","one.out"))
474474
@@ -506,6 +506,7 @@ colnames(savedata)[colnames(savedata)=="C"] <- "N"
506506#### Step 3 - LCA Auxiliary Variable Model with 2 covariates and 1 distal outcome
507507
508508------------------------------------------------------------------------
509+
509510##### Estimate LCA Model
510511
511512Model with 2 covariates (gender and mother's education) and 1 distal outcome (math IRT scores)
@@ -818,7 +819,6 @@ combined %>%
818819
819820Is there a relation between the distal outcome (Math IRT Scores) and the covariate (Gender)?
820821
821-
822822``` {r}
823823modelParams <- readModels(here("three_step", "manual_3step", "three.out"))
824824
@@ -859,12 +859,12 @@ donx %>%
859859```
860860
861861
862-
863862------------------------------------------------------------------------
864863
865864#### Step 3 - LCA Auxiliary Variable Model with 1 covariate
866865
867866------------------------------------------------------------------------
867+
868868##### Estimate LCA Model
869869
870870``` {r, cache = TRUE}
0 commit comments