Other packages > Find by keyword >

medfit  

Infrastructure for Mediation Model Fitting and Extraction
View on CRAN: Click here


Download and install medfit package within the R console
Install from CRAN:
install.packages("medfit")

Install from Github:
library("remotes")
install_github("cran/medfit")

Install by package version:
library("remotes")
install_version("medfit", "0.2.1")



Attach the package and use:
library("medfit")
Maintained by
Davood Tofighi
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-18
Latest Update: 2026-06-18
Description:
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>.
How to cite:
Davood Tofighi (2026). medfit: Infrastructure for Mediation Model Fitting and Extraction. R package version 0.2.1, https://cran.r-project.org/web/packages/medfit. Accessed 05 Aug. 2026.
Previous versions and publish date:
(2026-07-23 19:00), 0.2.1 (2026-06-18 15:40)
Other packages that cited medfit R package
View medfit citation profile
Other R packages that medfit depends, imports, suggests or enhances
Complete documentation for medfit
Functions, R codes and Examples using the medfit R package
Full medfit package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
dhReg  
Dynamic Harmonic Regression
Building and forecasting time series data with multiple seasonality using Dynamic Harmonic Regressio ...
Download / Learn more Package Citations See dependency  
kernelPSI  
Post-Selection Inference for Nonlinear Variable Selection
Different post-selection inference strategies for kernelselection as described in kernelPSI a Post-S ...
Download / Learn more Package Citations See dependency  
noisyr  
Noise Quantification in High Throughput Sequencing Output
Quantifies and removes technical noise from high-throughput sequencing data. Two approaches are use ...
Download / Learn more Package Citations See dependency  
dcov  
A Fast Implementation of Distance Covariance
Efficient methods for computing distance covariance and relevant statistics. See Sz ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA