Skip to content

Commit

Permalink
replacing figure in mnlfa
Browse files Browse the repository at this point in the history
  • Loading branch information
jhorzek committed Aug 25, 2023
1 parent e9e6b9c commit 099271c
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 466 deletions.
7 changes: 7 additions & 0 deletions R/mxsem_group_by.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
#' in grouping_variables
#' 3. a separate model is set up for each group. All parameters that match
#' those specified in the parameters argument are group specific
#'
#' **Warning**: The multi-group model may differ from **lavaan**! For instance,
#' **lavaan** will automatically set the latent variances for all but the first
#' group free if the loadings are fixed to equality. Such automatic procedures
#' are not yet implemented in **mxsem**.
#'
#'
#' @param mxModel mxModel with the entire data
#' @param grouping_variables Variables used to split the data in groups
#' @param parameters the parameters that should be group specific. By default
Expand Down
5 changes: 5 additions & 0 deletions man/mxsem_group_by.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions vignettes/Moderated-Nonlinear-Factor-Analysis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ summary(mnlfa_model)
#> RMSEA: 0 [95% CI (NA, NA)]
#> Prob(RMSEA <= 0.05): NA
#> To get additional fit indices, see help(mxRefModels)
#> timestamp: 2023-08-25 14:20:14
#> Wall clock time: 357.9646 secs
#> timestamp: 2023-08-25 14:36:18
#> Wall clock time: 292.0618 secs
#> optimizer: SLSQP
#> OpenMx version number: 2.21.8
#> Need help? See help(mxSummary)
Expand Down Expand Up @@ -456,6 +456,7 @@ ggplot(data = lSi_1$lSi_1,
geom_point()
```

![plot of chunk unnamed-chunk-25](figure/unnamed-chunk-25-1.png)

![](figures/mnlfa_lS_1.png)

## References
Loading

0 comments on commit 099271c

Please sign in to comment.