doi:10.18637/jss.v048.i02> and Lefcheck (2016) <doi:10.1111/2041-210X.12512>.">

semEffect: Structural Equation Model Effect Analysis and Visualization (original) (raw)

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:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=semEffectto link to this page.