Crandore Hub

medfit

Infrastructure for Mediation Model Fitting and Extraction

Provides S7-based infrastructure for fitting mediation models, extracting path coefficients, and performing bootstrap inference. Designed as a foundation package for the mediation analysis ecosystem, supporting 'probmed', 'RMediation', and 'medrobust' packages. Implements unified interfaces for model fitting across different engines (currently generalized linear models, with future support for mixed models and Bayesian methods), standardized extraction of mediation paths from various model types, and robust bootstrap inference methods. Mediation inference methods are described in MacKinnon, Lockwood and Williams (2004) <doi:10.1207/s15327906mbr3901_4> and Tofighi and MacKinnon (2011) <doi:10.3758/s13428-011-0076-x>.

Versions across snapshots

VersionRepositoryFileSize
0.2.1 rolling linux/jammy R-4.5 medfit_0.2.1.tar.gz 837.0 KiB
0.2.1 rolling linux/noble R-4.5 medfit_0.2.1.tar.gz 837.1 KiB
0.2.1 rolling source/ R- medfit_0.2.1.tar.gz 521.1 KiB
0.2.1 latest linux/jammy R-4.5 medfit_0.2.1.tar.gz 837.0 KiB
0.2.1 latest linux/noble R-4.5 medfit_0.2.1.tar.gz 837.1 KiB
0.2.1 latest source/ R- medfit_0.2.1.tar.gz 521.1 KiB
0.2.1 2026-04-23 source/ R- medfit_0.2.1.tar.gz 0 B

Dependencies (latest)

Imports

Suggests