Skip to content

Commit 2014fdc

Browse files
committed
minor edits
1 parent 04c3507 commit 2014fdc

35 files changed

Lines changed: 3733 additions & 3804 deletions

03-enumeration.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ gtsave(fit_table1, here("figures", "fit_table.png"))
458458

459459
## Information Criteria Plot
460460

461-
```{r height=5, width=7}
461+
```{r height=3, width=5}
462462
allFit %>%
463463
dplyr::select(2:7) %>%
464464
rowid_to_column() %>%

05-three-step.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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%"}
472472
source(here("functions", "plot_lca.R"))
473473
output_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

511512
Model with 2 covariates (gender and mother's education) and 1 distal outcome (math IRT scores)
@@ -818,7 +819,6 @@ combined %>%
818819

819820
Is there a relation between the distal outcome (Math IRT Scores) and the covariate (Gender)?
820821

821-
822822
```{r}
823823
modelParams <- 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}

06-LPA.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ ds %>%
256256

257257
Histograms
258258

259-
```{r}
259+
```{r out.width="90%"}
260260
data_long <- pisa %>%
261261
pivot_longer(broad_interest:self_efficacy, names_to = "variable")
262262

07-lca-moderation.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ library(janitor)
3636

3737
## Moderation Path Diagram
3838

39-
```{r, echo=FALSE, eval=TRUE}
39+
```{r, echo=FALSE, eval=TRUE, out.width="90%"}
4040
knitr::include_graphics(here("figures", "moderation_diagram.png"))
4141
```
4242

@@ -283,7 +283,7 @@ gtsave(fit_table, here("figures", "fit_table_lca.png"))
283283

284284
### Information Criteria Plot
285285

286-
```{r height=5, width=7}
286+
```{r out.width="90%"}
287287
source(here("functions", "ic_plot_lca.R"))
288288
ic_plot(output_enum)
289289
```

10-gmm.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ knitr::opts_chunk$set(echo = TRUE,
66
```
77

88

9-
# Growth mixture Models
9+
# Growth Mixture Models
1010

1111
------------------------------------------------------------------------
1212

0 commit comments

Comments
 (0)