Path Diagrams for Lavaan Models via DiagrammeR

Plots path diagrams from models in lavaan using the plotting functionality from the DiagrammeR package. DiagrammeR provides nice path diagrams via Graphviz, and these functions make it easy to generate these diagrams from a lavaan path model without having to write the DOT language graph specification.


lavaanPlot 0.3.0

  • Added support for latent variables (denoted by circles) in plots

  • Added support for edge labels with significant coefficients

lavaanPlot 0.4.0

  • Added support for latent variable loading labels

  • Added support for covariance edges

  • Corrected the direction of arrows for latent variable loadings

lavaanPlot 0.5.0

  • Added support for covariance edge labels

  • Added support for significance stars

lavaanPlot 0.5.1

  • Fixed bug caused by . in variable names

  • simplified the functions using the ... argument

  • fixed significance stars to work with standardized and non-standardized coefficients

  • Changed significance stars so you can choose which parameters to use them with

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.5.1 by Alex Lishinski, 2 years ago

Browse source code at

Authors: Alex Lishinski

Documentation:   PDF Manual  

GPL (>= 2) license

Imports lavaan, DiagrammeR, stringr

Suggests knitr, rmarkdown

See at CRAN