Time Varying Mediation Analysis
Overview
Provides functions for estimating mediation effects that vary over time as described in Cai X, Coffman DL, Piper ME, Li R. Estimation and inference for the mediation effect in a time-varying mediation model. BMC Med Res Methodol. 2022;22(1):1-12.
- Update author emails and file date.
- Minor updates to certain files and updating of authors emails.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE7 OK, 1 NOTE2026-03-31
Documentation
- Help pages
- 16
- Examples that run
- 40%2 run in a plain check · 3 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 19%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/dcoffman/tvmediation on 2026-10-21.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2026-03-30
- 1.1.1Latest
- archivedRemoved from CRAN2025-11-10email to the maintainer is undeliverable
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-05-25
- archivedRemoved from CRAN2022-05-25requires archived package 'kedd'
- 1.1.02022-05-25 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.02021-03-09
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-09
- Total releases
- 3 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 115 KB / 1 file
- Download size
- 515 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("tvmediation")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.