Skip to content

lvmPlot

0.1.1Package record

Publication-Quality Diagrams for Latent Variable Models

0packages depend
1.1Kdownloads / year
66.9%test coverage
13/13flavors OK

Overview

About
Maintained by Feng JiCRAN page ↗

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.

Changes in 0.1.1
  • Prepared editor exports now have request-specific files and URLs, preventing overlapping downloads and preview refreshes from sharing mutable state. Selection and locks are captured with the figure; expired URLs fail closed.
  • Corrected the sign of eRm Rasch difficulty labels: eRm's beta parameters are item easinesses, so labels now use b = -beta.
  • Added an evaluated model-examples vignette covering fitted CFA, SEM, ordinal, growth, two-level, multigroup, EFA, IRT, Rasch, mixture and RAM workflows, alongside a semPlot bridge and an explicitly unfitted bifactor specification.
  • Added an Export preview tab using the full R rendering pipeline. The editing canvas remains responsive and now draws covariance arrowheads, variance loops, explicit curves, and coefficient labels above the diagram edges.
  • Downloads require browser-state acknowledgement. Removed the timeout fallback that could export stale edits, and isolated download snapshots from live style changes. Node labels update locally before a following export request.
Show all changes in 0.1.1Hide the rest of the changes in 0.1.1
  • Figure R downloads now include a self-contained graph snapshot, retaining filtering, coefficients, per-element styles and high-precision coordinates. State JSON validates its schema and model topology, with visible import errors and coefficient-label matching that survives edge reordering.
  • Fixed style resets, node-label undo/redo, and repair of locked nodes. Resetting layout retains current display labels and coefficient-label formatting.
  • Manual coefficient positions outside the node range are included in plot limits. Coordinate matrices with row names work; invalid or duplicate layout coordinates and graph identities now produce actionable errors.
  • Removed invalid pooling of multigroup coefficients and p-values. Multigroup inputs show shared structure without pooled numeric labels; select individual groups in a parameter table for group-specific figures.
  • Standardized labels no longer silently use raw estimates or other standardizations. Defined parameters and constraints do not create phantom nodes. Prepared graphs retain their displayed paths in publication bundles.
  • Expanded the vignette into a worked tutorial covering fitting, editing, exporting, state restoration, reproducible code, styling, multiple groups, custom graphs, and troubleshooting. Added small regression cases to the default test suite; the long stress suite remains opt-in.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.3 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK6 OK2026-07-01
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 1,883 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.1.1Citation fileYes · computed when R runs itWebsitenot declared in DESCRIPTION
Help pages
20includes a package overview page
Examples that run
100%14 run in a plain check
Exported functions with examples
74%
Documented parameters
79%
Return-value docs
100%
Help pages citing references
0%

Downloads

1.1K
CRAN downloads in the past year
Rank #13,708 · ~3/day · ~93/mo
Daily download trend is not available in this view yet.
28830 days
85090 days
1.1K1 year
Compare downloads with other packages →
Also on36 r2u8 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing lvmPlot adds no packages beyond those that come with R.

Depends (1)
R >= 4.1.0
Imports (1)
methods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.1.1Latest
    record
    2026-09-08 · current release · diff ↗
  • 0.1.0
    record
    2026-06-30
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-30
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
2.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lvmPlot")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lvmPlot version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy