Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Request: Help with Passing Mplus Output to create Diagrams

30 views
Skip to first unread message

Marie Jung

unread,
Nov 21, 2024, 2:15:42 PM11/21/24
to MplusAutomation
Hello all,

Having some trouble reading in my mplus output in a way that is usable for R packages like ggplot or the like to create a SEM path diagram. Has anyone accomplished this before and provide guidance? Thank you!

Jorge Sinval

unread,
Nov 22, 2024, 1:36:40 AM11/22/24
to MplusAutomation
Use semPlot:

library(semPlot)
l <- "http://www.statmodel.com/usersguide/chap5/ex5.11.html"
download.file(l, modfile <- tempfile(fileext = ".out"))
Model <- semPlotModel(modfile)
semPaths(Model, rotation = 2)
Reply all
Reply to author
Forward
0 new messages