Skip to content

High-Dimensional Mediation Analysis

0packages depend
5.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Allows to estimate and test high-dimensional mediation effects based on advanced mediator screening and penalized regression techniques. Methods used in the package refer to Zhang H, Zheng Y, Hou L, Liu L, HIMA: An R Package for High-Dimensional Mediation Analysis. Journal of Data Science. (2025). doi:10.6339/25-JDS1192.

Changes in 2.3.4
  • Implemented native de-biased LASSO inference routine (dlasso_proj) using glmnet, removing dependency on the archived hdi package.
  • Code optimization, test coverage enhancement, and bug fixes for CRAN re-submission.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.7 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OKNow
  • OK14 OK2026-03-10
Advisories

none known

Documentation

Documentation signals are not tracked yet for this package.

Downloads

5.5K
CRAN downloads in the past year
Rank #7,447 · ~15/day · ~460/mo
HIMA
Daily download trend is not available in this view yet.
73830 days
1.2K90 days
5.5K1 year
Compare downloads with other packages →
Also on139 r2u4 autocran97 c2d4u

Repository

25Stars
19Forks
0Open issues
0Open PRs
0Releases
189Commits
6Commit identities
189 commits · Last activity 2026-09-01 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
237
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/yinanzheng/hima on 2026-10-11.

Docs source (1)

GitHub Pages site last deployed 2025-11-17

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Codexfirst seen 2025-06-04
    Pull request it wrote: opened by a project member
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing HIMA adds 17 packages (11 with compiled code, 12 MB of source tarballs). Heaviest: glmnet 2.7 MB, Rcpp 1.8 MB, HDMT 1.7 MB. 1 more not on CRAN is not measured.

Depends (3)
R >= 3.5ncvregglmnet
Imports (13)
utilsstatsMASSsurvivalnlmeHDMTconquerquantreghommeliteratorsparallelforeachdoParallel
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0.5 (2017)
Author, Copyright holder
Releases (14)
  • unarchivedReturned to CRAN
    2026-08-30
  • 2.3.4Latest
    2026-08-30 · current release · diff ↗
  • archivedRemoved from CRAN
    2026-07-10
    requires archived package 'scalreg'
  • R
    R 4.6.0 released · 2026-04-24
  • 2.3.3
    2025-11-17 · diff ↗ ·
    added 1 export
    hima_survival_long
  • 2.3.2
    2025-06-12 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.3.1
    2025-01-27 · diff ↗ ·
    removed 7 exports
    classicHIMA, dblassoHIMA, eHIMA, himaFit, microHIMA, qHIMA, survHIMA
    added 7 exports
    hima, hima_classic, hima_dblasso, hima_efficient, hima_microbiome, hima_quantile, hima_survival
  • 2.3.0
    2024-10-28 · diff ↗ ·
    removed 2 exports
    hima, hima2
    added 2 exports
    classicHIMA, himaFit
  • 2.2.2
    2024-08-24 · diff ↗ ·
    added 1 export
    eHIMA
  • R
    R 4.4.0 released · 2024-04-24
  • 2.2.1
    2023-09-10 · diff ↗ ·
    added 2 exports
    dblassoHIMA, qHIMA
  • 2.2.0
    2023-04-27 · diff ↗ ·
    removed 1 export
    simHIMA
    added 1 export
    hima2
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.1
    2022-07-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
Show 10 earlier eventsHide 10 earlier events
  • 2.0.0
    2022-02-03 · diff ↗ ·
    added 1 export
    microHIMA
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.0
    2021-05-15 · diff ↗ ·
    added 1 export
    survHIMA
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.7
    2018-03-07 · diff ↗
  • 1.0.6
    2018-03-06 · diff ↗
  • 1.0.5
    2017-11-08
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-11-08
Total releases
14 / 9 yrs
License
GPL-3 OSI
Download size
2.1 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("HIMA")
Zheng, Y., Hou, L., Liu, L., & Zhang, H. (2026). HIMA: High-Dimensional Mediation Analysis (Version 2.3.4) [Computer software]. https://doi.org/10.32614/CRAN.package.HIMA

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for HIMA version 2.3.4 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy