Skip to content

funmediation

1.0.2

Functional Mediation for a Distal Outcome

0packages depend
2.9Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by John J. DziakFirst published 2021-12-152 releasesCRAN page ↗

Fits a functional mediation model with a scalar distal outcome. The method is described in detail by Coffman, Dziak, Litson, Chakraborti, Piper & Li (2021) arXiv:2112.03960. The model is similar to that of Lindquist (2012) doi:10.1080/01621459.2012.695640 although allowing a binary outcome as an alternative to a numerical outcome. The current version is a minor bug fix in the vignette. The development of this package was part of a research project supported by National Institutes of Health grants P50 DA039838 from the National Institute of Drug Abuse and 1R01 CA229542-01 from the National Cancer Institute and the NIH Office of Behavioral and Social Science Research. Content is solely the responsibility of the authors and does not necessarily represent the official views of the funding institutions mentioned above. This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 13.2 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
84%
Return-value docs
100%
References docs
25%

Downloads

2.9K
CRAN downloads in the past year
Rank #18,880 · ~8/day · ~243/mo
Daily download trend is not available in this view yet.
14630 days
59690 days
2.9K1 year
Compare downloads with other packages →
Also on99 r2u26 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (3)
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Author
Package Timeline

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

  • 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
  • 1.0.2Latest
    2023-11-09 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.1
    2021-12-15
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-12-15
Total releases
2 / 5 yrs
License
GPL (>= 2) OSI
Download size
109 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("funmediation")
Dziak, J. J., Chakraborti, Y., Coffman, D. L., Li, R., & Litson, K. (2023). funmediation: Functional Mediation for a Distal Outcome (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.funmediation

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 funmediation version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, 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