Package: rmedsem
Title: Statistical Mediation Analysis for SEMs
Version: 1.1.0
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', or 'modsem'. Implements
    the Baron and Kenny (1986) <doi:10.1037/0022-3514.51.6.1173> and
    Zhao, Lynch & Chen (2010) <doi:10.1086/651257>
    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)
    <doi:10.1037/met0000165>. Results can be summarized, extracted with
    standard methods such as summary(), coef() and confint(), and plotted.
License: MIT + file LICENSE
Encoding: UTF-8
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, testthat (>= 3.0.0)
Config/Needs/website: semPlot, rmarkdown
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-09-15 21:35:49 UTC; mmi041
Author: Mehmet Mehmetoglu [aut] (ORCID:
    <https://orcid.org/0000-0002-6092-8551>),
  Matthias Mittner [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-0205-7353>),
  Kjell Slupphaug [aut] (ORCID: <https://orcid.org/0009-0005-8324-2834>)
Maintainer: Matthias Mittner <matthias.mittner@uit.no>
Repository: CRAN
Date/Publication: 2026-09-16 07:30:02 UTC
