File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1244,7 +1244,7 @@ To generate the syntax for a latent change score model, we use the [lcsm](https:
12441244
12451245``` {r}
12461246bivariateLCSM_syntax <- specify_bi_lcsm(
1247- timepoints = 10 ,
1247+ timepoints = 3 ,
12481248 var_x = "x",
12491249 model_x = list(
12501250 alpha_constant = TRUE, # alpha = intercept (constant change factor)
@@ -1274,7 +1274,7 @@ bivariateLCSM_fit <- fit_bi_lcsm(
12741274 model_x = list(
12751275 alpha_constant = TRUE, # alpha = intercept (constant change factor)
12761276 beta = TRUE, # beta = proportional change factor (latent true score predicting its change score)
1277- phi = FALSE ), # phi = autoregression of change scores
1277+ phi = TRUE ), # phi = autoregression of change scores
12781278 model_y = list(
12791279 alpha_constant = TRUE, # alpha = intercept (constant change factor)
12801280 beta = TRUE, # beta = proportional change factor (latent true score predicting its change score)
@@ -1350,7 +1350,7 @@ plot_lcsm(
13501350
13511351lavaanPlot::lavaanPlot2(
13521352 bivariateLCSM_fit,
1353- # stand = TRUE, # currently throws error; uncomment out when fixed: https://github.com/alishinski/lavaanPlot/issues/52
1353+ stand = TRUE, # currently throws error; uncomment out when fixed: https://github.com/alishinski/lavaanPlot/issues/52
13541354 coef_labels = TRUE)
13551355```
13561356
You can’t perform that action at this time.
0 commit comments