The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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>.
| Version: | 0.2.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | S7 (≥ 0.1.0), stats, methods, checkmate, generics, MASS |
| Suggests: | lavaan (≥ 0.6-0), testthat (≥ 3.0.0), tibble |
| Published: | 2026-06-18 |
| DOI: | 10.32614/CRAN.package.medfit |
| Author: | Davood Tofighi |
| Maintainer: | Davood Tofighi <dtofighi at gmail.com> |
| BugReports: | https://github.com/data-wise/medfit/issues |
| License: | GPL (≥ 3) |
| URL: | https://data-wise.github.io/medfit/, https://github.com/data-wise/medfit |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | medfit citation info |
| CRAN checks: | medfit results |
| Reference manual: | medfit.html , medfit.pdf |
| Package source: | medfit_0.2.1.tar.gz |
| Windows binaries: | r-devel: medfit_0.2.1.zip, r-release: medfit_0.2.1.zip, r-oldrel: medfit_0.2.1.zip |
| macOS binaries: | r-release (arm64): medfit_0.2.1.tgz, r-oldrel (arm64): medfit_0.2.1.tgz, r-release (x86_64): medfit_0.2.1.tgz, r-oldrel (x86_64): medfit_0.2.1.tgz |
| Reverse suggests: | RMediation |
Please use the canonical form https://CRAN.R-project.org/package=medfit to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.