Package: rmedsem Title: Statistical Mediation Analysis for SEMs Version: 1.1.1 Authors@R: c( person("Mehmet", "Mehmetoglu", email="mehmet.mehmetoglu@ntnu.no", role = c("aut"), comment = c(ORCID = "0000-0002-6092-8551")), person("Matthias", "Mittner", email="matthias.mittner@uit.no", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0205-7353")), person("Kjell", "Slupphaug", email="slupphaugkjell@gmail.com", role = c("aut"), comment = c(ORCID = "0009-0005-8324-2834")) ) Description: Conducts mediation analysis for structural equation models (SEM) estimated with 'lavaan', 'blavaan', 'cSEM', 'plssem', or 'modsem'. Implements the Baron and Kenny (1986) and Zhao, Lynch & Chen (2010) approaches to determine the presence and type of mediation. Supports covariance-based SEM, partial least squares SEM, Bayesian SEM, and moderated mediation and mediated moderation models. Tests indirect effects with the Sobel, Delta, Monte-Carlo, and bootstrap methods or, for Bayesian models, with posterior summaries and equal-tailed or highest density credible intervals. Reports the effect size measures RIT, RID, and Upsilon of Lachowicz, Preacher and Kelley (2018) . Results can be summarized, extracted with standard methods such as summary(), coef() and confint(), and plotted. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) Imports: lavaan, mvtnorm, ggplot2, stats URL: https://github.com/ihrke/rmedsem, https://ihrke.github.io/rmedsem/ BugReports: https://github.com/ihrke/rmedsem/issues Depends: R (>= 4.1.0) LazyData: true Suggests: blavaan, cSEM, HDInterval, modsem, plssem (>= 0.1.4), testthat (>= 3.0.0) Config/Needs/website: semPlot, rmarkdown Config/testthat/edition: 3 Config/roxygen2/version: 8.1.0 Repository: https://ihrke.r-universe.dev Date/Publication: 2026-09-17 07:51:58 UTC RemoteUrl: https://github.com/ihrke/rmedsem RemoteRef: HEAD RemoteSha: f02202b820e0cfe78bdbae359b02e017562e9d47 NeedsCompilation: no Packaged: 2026-10-17 07:15:55 UTC; root Author: Mehmet Mehmetoglu [aut] (ORCID: ), Matthias Mittner [aut, cre] (ORCID: ), Kjell Slupphaug [aut] (ORCID: ) Maintainer: Matthias Mittner