Skip to content

mediateP

0.2.0Package record

Mediation Analysis Based on the Product Method

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

Overview

About

Functions for calculating the point and interval estimates of the natural indirect effect (NIE), total effect (TE), and mediation proportion (MP), based on the product approach. We perform the methods considered in Cheng, Spiegelman, and Li (2021) Estimating the natural indirect effect and the mediation proportion via the product method.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Chao Cheng <c.cheng@yale.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Chao", "Cheng;", "Donna", "Spiegelman;", "Fan"),
                      family = "Li",
                      role = "aut"),
               person(given = "Chao",
                      family = "Cheng",
                      role = "cre",
                      email = "c.cheng@yale.edu"))
as necessary.

CRAN check page ↗

Slowest check: 55 s · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
10
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
10%

Downloads

2.4K
CRAN downloads in the past year
Rank #21,225 · ~7/day · ~204/mo
Daily download trend is not available in this view yet.
25830 days
62490 days
2.4K1 year
Compare downloads with other packages →
Also on69 r2u6 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing mediateP adds no packages beyond those that come with R.

Depends (1)
R >= 3.6.0
Imports (1)
boot
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (from the free-text Author field) (3)
· added in 0.2.0
· added in 0.2.0

Maintainer since 0.1.0 (2021)

Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0Latest
    record
    2022-02-05 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    record
    2021-01-13
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-13
Total releases
2 / 5 yrs
License
GPL
Minimum R
≥ 3.6.0
Download size
9.5 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mediateP")

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 mediateP version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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