Skip to content

moderate.mediation

0.0.12

Causal Moderated Mediation Analysis

0packages depend
6.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Xu QinFirst published 2023-02-1512 releasesCRAN page ↗

Causal moderated mediation analysis using the methods proposed by Qin and Wang (2023) doi:10.3758/s13428-023-02095-4. Causal moderated mediation analysis is crucial for investigating how, for whom, and where a treatment is effective by assessing the heterogeneity of mediation mechanism across individuals and contexts. This package enables researchers to estimate and test the conditional and moderated mediation effects, assess their sensitivity to unmeasured pre-treatment confounding, and visualize the results. The package is built based on the quasi-Bayesian Monte Carlo method, because it has relatively better performance at small sample sizes, and its running speed is the fastest. The package is applicable to a treatment of any scale, a binary or continuous mediator, a binary or continuous outcome, and one or more moderators of any scale.

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
20%
Documented parameters
85%
Return-value docs
100%
References docs
83%

Downloads

6.3K
CRAN downloads in the past year
Rank #7,265 · ~17/day · ~527/mo
Daily download trend is not available in this view yet.
32430 days
1.4K90 days
6.3K1 year
Compare downloads with other packages →
Also on103 r2u16 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

12 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.12Latest
    2025-08-22 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.0.11
    2025-04-04 · diff ↗
  • 0.0.10
    2024-05-23 · diff ↗
  • 0.0.9
    2024-04-24 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.8
    2024-02-29 · diff ↗
  • unarchivedReturned to CRAN
    2024-02-29
  • archivedRemoved from CRAN
    2024-02-11
    policy violations Including sending CRAN painful HTML and requiring an orphaned package
  • 0.0.7
    2023-11-27 · diff ↗
  • 0.0.6
    2023-10-19 · diff ↗
  • 0.0.5
    2023-06-06 · diff ↗
  • unarchivedReturned to CRAN
    2023-06-06
  • archivedRemoved from CRAN
    2023-05-11
    policy violation Using all the CPU cores by default
  • 0.0.4
    2023-04-27 · diff ↗
Show 5 earlier events
  • 0.0.3
    2023-04-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.2
    2023-03-18 · diff ↗
  • 0.0.1
    2023-02-15
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-15
Total releases
12 / 3 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Bundled data
11 KB / 1 file
Download size
54 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →