Open jeromyanglim opened 12 years ago
qgraph seems well suited, but it seems to be under active development. My first example did not work, because I don't think indirect effects are supported.
http://sachaepskamp.com/qgraph
qgraph.lavaan() function is designed for the purpose.
It required a little bit of fiddling with options to produce something legible.
qgraph.lavaan(lavaan_fit, layout='circle', include=3, vsize.man=5)
pathDiagram
sem
diagram
qgraph seems well suited, but it seems to be under active development. My first example did not work, because I don't think indirect effects are supported.
http://sachaepskamp.com/qgraph
qgraph.lavaan() function is designed for the purpose.
It required a little bit of fiddling with options to produce something legible.
Other ideas
pathDiagram
function in thesem
package. Example1 and Example 2diagram
package in R provides another option. See this vignette