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>.

Getting started

Package details

AuthorWeiping Mei [aut, cre] (ORCID: <https://orcid.org/0000-0001-6400-9862>)
MaintainerWeiping Mei <meiweipingg@163.com>
LicenseGPL-3
Version1.2.3
URL https://github.com/PhDMeiwp/semEffect/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("semEffect")

Try the semEffect package in your browser

Any scripts or data that you put into this service are public.

semEffect documentation built on Aug. 9, 2025, 1:06 a.m.