Package: funmediation 1.0.2

funmediation: Functional Mediation for a Distal Outcome

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.

Authors:John J. Dziak [aut, cre], Donna L. Coffman [aut], Kaylee Litson [aut], Yajnaseni Chakraborti [aut], Runze Li [aut]

funmediation_1.0.2.tar.gz
funmediation_1.0.2.zip(r-4.7)funmediation_1.0.2.zip(r-4.6)funmediation_1.0.2.zip(r-4.5)
funmediation_1.0.2.tgz(r-4.6-any)funmediation_1.0.2.tgz(r-4.5-any)
funmediation_1.0.2.tar.gz(r-4.7-any)funmediation_1.0.2.tar.gz(r-4.6-any)
funmediation_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
funmediation/json (API)

# Install 'funmediation' in R:
install.packages('funmediation', repos = c('https://dziakj1.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dziakj1/funmediation/issues

On CRAN:

Conda:

3.30 score 2 stars 2 scripts 179 downloads 2 exports 59 dependencies

Last updated from:5d0372fa94. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE145
source / vignettesOK355
linux-release-x86_64NOTE193
macos-release-arm64NOTE148
macos-oldrel-arm64NOTE106
windows-develNOTE137
windows-releaseNOTE87
windows-oldrelNOTE123
wasm-releaseOK129

Exports:funmediationsimulate_funmediation_example

Dependencies:abindashbitopsbootcliclustercolorspacecpp11deSolvefarverfdafdsFNNgamm4ggplot2gluegrpreggtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelme4locfitmagicMASSMatrixmclustmgcvminqamulticoolmvtnormnlmenloptrpbspcaPPpracmaR6rainbowrbibutilsRColorBrewerRcppRcppEigenRCurlRdpackreformulasrefundrlangRLRsimS7scalestvemvctrsviridisLitewithr

Demonstrating functional mediation

Rendered fromvignette-funmed.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2023-11-09
Started: 2020-11-03