lavaangui

Graphical user interface for lavaan

https://github.com/karchjd/lavaangui

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.9%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Graphical user interface for lavaan

Basic Info
  • Host: GitHub
  • Owner: karchjd
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 29.8 MB
Statistics
  • Stars: 14
  • Watchers: 2
  • Forks: 1
  • Open Issues: 29
  • Releases: 4
Created about 3 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

lavaangui

R CMD CHECK Tests

contributions Contributor Covenant

The lavaangui package provides a free, open-source graphical user interface for the lavaan package. The core feature is that models can be specified by drawing path diagrams and fitted models visualized via interactive path diagrams.

There are three main ways to use the lavaangui package.

  1. Web application: The easiest is to visit https://lavaangui.org/ and use it as a web application. This requires no additional software besides a web browser. The main downside of this is that the webserver is likely slower than your computer. So, fitting complicated models might take a long time. The app is likely also more responsive on your computer.

  2. Local web application: After installing the lavaangui package (see below), you can start a local version of the web application via the lavaangui() command.

  3. Interactive plots: lavaangui can also be used for plotting lavaan models that were created in R. For this, use plot_lavaan(fit). This will create a path diagram of your model. The core difference compared to other packages for plotting lavaan models is that the resulting plot is interactive. That is, you can change its appearance easily, for example, by dragging around nodes with your mouse.

An extensive tutorial on using lavaangui is available at https://osf.io/preprints/psyarxiv/f4ary.

Getting Started

Web application

For the web application, no installation is necessary. Simply go to https://lavaangui.org/. The web application should work with any modern browser. It is continuously being tested with: Chrome, Edge, Safari, Firefox, and Opera.

R Package

Installation

You can install the latest version of the R package as usual using the following command:

install.packages("lavaangui")

lavaangui()

You can start the lavaangui web application by typing

library(lavaangui) lavaangui()

into your R console.

Alternatively, you can also use the command lavaangui(fit), where fit is any supported fitted lavaan object. This will initialize the web application with the model (and data) contained in fit. For example, the following code initializes the web application with a three factor model.

```{r, eval = FALSE} library(lavaan) library(lavaangui) HS.model <- ' visual =~ x1 + x2 + x3 textual =~ x4 + x5 + x6 speed =~ x7 + x8 + x9 '

fit <- cfa(HS.model, data = HolzingerSwineford1939) lavangui(fit) ```

plot_lavaan()

To obtain an interactive plot of your fitted model without leaving R Studio, use the plot_lavaan(fit) function:

```{r, eval = FALSE} library(lavaan) library(lavaangui) HS.model <- ' visual =~ x1 + x2 + x3 textual =~ x4 + x5 + x6 speed =~ x7 + x8 + x9 '

fit <- cfa(HS.model, data = HolzingerSwineford1939) plot_lavaan(fit) ```

Cite

If you use lavaangui in your research, please cite the following paper:

Karch, J. D. (2025). lavaangui: A Web-Based Graphical Interface for Specifying Lavaan Models by Drawing Path Diagrams. Structural Equation Modeling: A Multidisciplinary Journal, 1-12. https://doi.org/10.1080/10705511.2024.2420678

Owner

  • Login: karchjd
  • Kind: user

GitHub Events

Total
  • Create event: 8
  • Release event: 1
  • Issues event: 49
  • Watch event: 12
  • Delete event: 6
  • Issue comment event: 25
  • Push event: 32
  • Pull request event: 2
  • Fork event: 2
Last Year
  • Create event: 8
  • Release event: 1
  • Issues event: 49
  • Watch event: 12
  • Delete event: 6
  • Issue comment event: 25
  • Push event: 32
  • Pull request event: 2
  • Fork event: 2

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 23
  • Total pull requests: 2
  • Average time to close issues: 23 days
  • Average time to close pull requests: about 2 months
  • Total issue authors: 6
  • Total pull request authors: 1
  • Average comments per issue: 0.43
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 23
  • Pull requests: 2
  • Average time to close issues: 23 days
  • Average time to close pull requests: about 2 months
  • Issue authors: 6
  • Pull request authors: 1
  • Average comments per issue: 0.43
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • karchjd (54)
  • follhim (3)
  • TarandeepKang (1)
  • winterstat (1)
  • brandmaier (1)
  • Mosen111 (1)
  • k-maciejewski (1)
Pull Request Authors
  • karchjd (4)
  • brandmaier (1)
Top Labels
Issue Labels
enhancement (28) longterm (13) shortterm (10) bug (9) mandatory (5) nice to have (1)
Pull Request Labels
codex (1) bug (1)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 527 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: lavaangui

Graphical User Interface with Integrated 'Diagrammer' for 'Lavaan'

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 527 Last month
Rankings
Dependent packages count: 28.2%
Dependent repos count: 34.8%
Average: 49.9%
Downloads: 86.6%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/playwright-test.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • base64enc >= 0.1.3 imports
  • digest * imports
  • future >= 1.33.0 imports
  • haven >= 2.5.3 imports
  • jsonlite >= 1.8.4 imports
  • lavaan >= 0.6.15 imports
  • promises >= 1.2.0.1 imports
  • readr >= 2.1.4 imports
  • readxl >= 1.4.3 imports
  • semPlot * imports
  • shiny >= 1.7.4 imports
  • shinyjs >= 2.1.0 imports
  • tools >= 4.2.2 imports
  • vtable >= 1.4.4 imports
  • zip >= 2.3.0 imports
  • golem * suggests
  • testthat * suggests
src/package-lock.json npm
  • 116 dependencies
src/package.json npm
  • @playwright/test ^1.38.1 development
  • @sveltejs/vite-plugin-svelte ^2.0.4 development
  • @types/node ^20.8.4 development
  • prettier-plugin-svelte ^3.0.3 development
  • svelte ^3.58.0 development
  • vite ^4.3.9 development
  • bootbox ^5.5.3
  • bootstrap ^3.4.1
  • cytoscape ^3.25.0
  • cytoscape-cola ^2.5.1
  • cytoscape-context-menus ^4.1.0
  • cytoscape-dagre ^2.5.0
  • cytoscape-edge-editing ^4.0.0
  • cytoscape-edgehandles ^4.0.1
  • cytoscape-fcose ^2.2.0
  • cytoscape-grid-guide ^2.3.3
  • cytoscape-panzoom ^2.5.3
  • cytoscape-undo-redo ^1.3.3
  • jszip ^3.10.1
  • konva ^7.2.5
  • shiny ^1.0.0
  • uuid ^9.0.0
  • vite-require ^0.2.3
package-lock.json npm