Package: RobustMediate
Title: Causal Mediation Analysis with Diagnostics and Sensitivity
        Analysis
Version: 0.3.0
Authors@R: 
    person("Subir", "Hait", email = "haitsubi@msu.edu",
           role = c("aut", "cre"),
           comment = c(ORCID = "0009-0004-9871-9677"))
Description: Provides tools for causal mediation analysis with continuous
    treatments. Estimates natural direct and indirect effects by g-computation
    over a user-defined treatment grid, with bootstrap intervals that can
    resample whole clusters, and supports nonlinear dose-response through
    spline terms in the model formulas. Includes balance diagnostics based on
    standardized mean differences and stabilized inverse probability
    weights. Provides sensitivity analysis for
    confounding of the mediator-outcome relationship using the error
    correlation parameter of Imai, Keele, and Yamamoto (2010)
    <doi:10.1214/10-STS321>, and path-wise and indirect-effect robustness
    values in the partial R-squared metric of Cinelli and Hazlett (2020)
    <doi:10.1111/rssb.12348>, for both joint-significance and Sobel tests of
    the indirect effect. Additional utilities include visualization of
    dose-response mediation functions and formatted outputs for applied
    research.
License: MIT + file LICENSE
URL: https://github.com/subirhait/RobustMediate
BugReports: https://github.com/subirhait/RobustMediate/issues
Encoding: UTF-8
LazyData: true
Depends: R (>= 4.1.0)
Imports: cli, ggplot2 (>= 3.4.0), rlang, scales, stats, broom
Suggests: covr, dplyr, knitr, lme4, pkgdown, rmarkdown, splines,
        testthat (>= 3.0.0), tidyr
Config/testthat/edition: 3
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-10-26 23:39:39 UTC; subir
Author: Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)
Maintainer: Subir Hait <haitsubi@msu.edu>
Config/roxygen2/version: 8.1.1
Repository: CRAN
Date/Publication: 2026-10-27 12:40:20 UTC
Built: R 4.7.0; ; 2026-10-29 11:30:12 UTC; windows
