semEffect: Structural Equation Model Effect Analysis and Visualization

Provides standardized effect decomposition (direct, indirect, and total effects) for three major structural equation modeling frameworks: 'lavaan', 'piecewiseSEM', and 'plspm'. Automatically handles zero-effect variables, generates publication-ready 'ggplot2' visualizations, and returns both wide-format and long-format effect tables. Supports effect filtering, multi-model object inputs, and customizable visualization parameters. For a general overview of the methods used in this package, see Rosseel (2012) <doi:10.18637/jss.v048.i02> and Lefcheck (2016) <doi:10.1111/2041-210X.12512>.

Version: 1.2.3
Depends: R (≥ 4.4.0)
Imports: lavaan, piecewiseSEM, plspm, ggplot2, tidyr, dplyr, utils, checkmate, RColorBrewer
Suggests: testthat
Published: 2025-07-04
DOI: 10.32614/CRAN.package.semEffect
Author: Weiping Mei ORCID iD [aut, cre]
Maintainer: Weiping Mei <meiweipingg at 163.com>
BugReports: https://github.com/PhDMeiwp/semEffect/issues
License: GPL-3
URL: https://github.com/PhDMeiwp/semEffect/
NeedsCompilation: no
CRAN checks: semEffect results

Documentation:

Reference manual: semEffect.pdf

Downloads:

Package source: semEffect_1.2.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): semEffect_1.2.3.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=semEffect to link to this page.