Package: RMediation
Type: Package
Title: Mediation Analysis Confidence Intervals
Version: 1.6.1
Date: 2026-06-30
Author: Davood Tofighi [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-8523-7776>)
Maintainer: Davood Tofighi <dtofighi@gmail.com>
Authors@R: person("Davood", "Tofighi",
    email = "dtofighi@gmail.com",
    role = c("aut", "cre"),
    comment = c(ORCID = "0000-0001-8523-7776"))
Description: Computes confidence intervals for nonlinear functions of model 
    parameters (e.g., product of k coefficients) in single-level and multilevel 
    structural equation
     models. Methods include the distribution of the product, 
    Monte Carlo simulation, and bootstrap methods. It also performs the Model-Based 
    Constrained Optimization (MBCO) procedure for hypothesis testing of indirect 
    effects.
    References:
    Tofighi, D., and MacKinnon, D. P. (2011). RMediation: An R package for mediation 
    analysis confidence intervals. Behavior Research Methods, 43, 692-700. 
    <doi:10.3758/s13428-011-0076-x>;
    Tofighi, D., and Kelley, K. (2020). Improved inference in mediation analysis: Introducing the model-based constrained optimization procedure. 
    Psychological Methods, 25(4), 496-515. <doi:10.1037/met0000259>;
    Tofighi, D. (2020). Bootstrap Model-Based Constrained Optimization Tests of 
    Indirect Effects. Frontiers in Psychology, 10, 2989. 
    <doi:10.3389/fpsyg.2019.02989>.
License: GPL (>= 3) | file LICENSE
URL: https://data-wise.github.io/rmediation/,
        https://github.com/data-wise/rmediation
BugReports: https://github.com/data-wise/rmediation/issues
Depends: R (>= 4.1.0)
Imports: checkmate (>= 2.1.0), cubature (>= 2.1.0), graphics (>=
        4.1.0), grDevices (>= 4.1.0), lavaan (>= 0.5-20), MASS (>=
        7.3), methods, S7
Suggests: knitr, medfit (>= 0.2.0), OpenMx (>= 2.13), rmarkdown,
        testthat (>= 3.0.0)
VignetteBuilder: knitr
Encoding: UTF-8
Language: en-US
LazyData: true
Config/testthat/edition: 3
Config/Needs/website: pkgdown, quarto
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-07-21 22:46:00 UTC; dt
Repository: CRAN
Date/Publication: 2026-07-21 23:40:02 UTC
Built: R 4.5.2; ; 2026-07-22 02:08:52 UTC; unix
