Learn R Programming

funmediation (version 1.0.2)

Functional Mediation for a Distal Outcome

Description

Fits a functional mediation model with a scalar distal outcome. The method is described in detail by Coffman, Dziak, Litson, Chakraborti, Piper & Li (2021) . The model is similar to that of Lindquist (2012) 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.

Copy Link

Version

Install

install.packages('funmediation')

Monthly Downloads

233

Version

1.0.2

License

GPL (>= 2)

Maintainer

John J. Dziak

Last Published

November 9th, 2023

Functions in funmediation (1.0.2)

simulate_funmediation_example

simulate_funmediation_example function
print.funmediation

print.funmediation: Print output from a model that was fit by the funmediation function.
plot.funmediation

plot.funmediation: Produces plots for a funmediation model.
funmediation

funmediation: Fit funmediation model