Package: lvmPlot 0.1.1

lvmPlot: Publication-Quality Diagrams for Latent Variable Models

Converts output from latent variable model tools into publication-ready path diagrams and model schematics. 'lavaan' fit objects and parameter tables are supported as a primary workflow, with graph adapters for objects from 'blavaan', 'lavaan.mi', 'semPlot', 'mirt', 'eRm', 'OpenMx', 'psych', 'poLCA', 'mclust', 'flexmix', 'lcmm', 'tidyLPA', and 'MplusAutomation' workflows when those packages are available. Supports structural equation and confirmatory factor analysis diagrams, multilevel structural equation models, growth models, higher-order factor models, latent class and profile models, item response theory models, and common mixture outputs through a unified graph grammar with model-aware defaults, geometry diagnostics, layout quality scoring, automatic layout selection, customizable publication styles, 'RStudio' preview, SVG/PDF/PNG export, 'TikZ' output, and reproducible publication bundles. A local 'Shiny' editor supports mouse dragging of nodes and coefficient labels, synchronized figure downloads, and reusable editing state.

Authors:Feng Ji [aut, cre]

lvmPlot_0.1.1.tar.gz
lvmPlot_0.1.1.zip(r-4.7-any)lvmPlot_0.1.1.zip(r-4.6-any)lvmPlot_0.1.1.zip(r-4.5-any)
lvmPlot_0.1.1.tgz(r-4.6-any)lvmPlot_0.1.1.tgz(r-4.5-any)
lvmPlot_0.1.1.tar.gz(r-4.7-any)lvmPlot_0.1.1.tar.gz(r-4.6-any)
lvmPlot_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lvmPlot/json (API)

# Install 'lvmPlot' in R:
install.packages('lvmPlot', repos = c('https://trtfj.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.48 score 328 downloads 29 exports 0 dependencies

Last updated from:35e1818121. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK210
source / vignettesOK349
linux-releaseOK180
macos-releaseOK217
macos-oldrelOK289
windows-develOK213
windows-releaseOK256
windows-oldrelOK218
wasm-releaseOK134

Exports:as_lvm_graphas_sem_graphcheck_lvm_layoutedit_lvmexport_lvm_bundlelayout_diagnosticslayout_matrixlayout_qualitylvm_canvas_sizelvm_graphlvm_stylelvm_themeslvm_tikzlvmPlotlvmPlot_editorlvmPlot_rstudio_export_tikzlvmPlot_rstudio_previewplot_lvmplot_semsave_lvm_pdfsave_lvm_pngsave_lvm_svgsave_sem_pdfsave_sem_pngsave_sem_svgselect_lvm_layoutsem_tikzwrite_lvm_tikzwrite_sem_tikz

Dependencies:

Editing a path diagram with the mouse
Find your way around the editor | 1. Open the example | 2. Drag a node | 3. Drag the coefficient, not the node | 4. Change a displayed name | 5. Look at what will be exported | 6. Save both the figure and the editable arrangement | 7. Return to the figure later | Working with several nodes | When the result is not what you expected

Last update: 2026-09-08
Started: 2026-09-08

Editing and saving path diagrams with lvmPlot
A CFA example | What the diagram includes | Editing with the mouse | Checking the exported appearance | Saving the edited figure | Returning to the editor | Reproducing a saved figure in R | Labels and layout in R | Coefficient labels | Node positions | Fonts and other styling | Coefficient positions | Writing figure files from R | Other model inputs | Structural paths | A parameter table | A graph without a fitted model | Separate group diagrams | Troubleshooting | Keeping the analysis and figure together

Last update: 2026-09-08
Started: 2026-09-08

Working with different models in lvmPlot
Packages and example data | CFA: the starting point | SEM: measurement and structural paths | Ordinal CFA | Linear growth | Two-level CFA | Multigroup CFA: one figure per group | EFA with psych | Two-parameter IRT with mirt | Binary Rasch with eRm | A Gaussian mixture with mclust | OpenMx RAM: a fitted one-factor model | A semPlotModel bridge | A bifactor specification without fitting | Saving work across these models

Last update: 2026-09-08
Started: 2026-09-08