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 26 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

ncodeR  
Techniques for Automated Classifiers
A set of techniques that can be used to develop, validate, and implement automated classifiers. A po ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
SelvarMix  
Regularization for Variable Selection in Model-Based Clustering and Discriminant Analysis
Performs a regularization approach to variable selection in themodel-based clustering and classifica ...
Download / Learn more Package Citations See dependency  
leafgl  
High-Performance 'WebGl' Rendering for Package 'leaflet'
Provides bindings to the 'Leaflet.glify' JavaScript library which extends the 'leaflet' JavaScript l ...
Download / Learn more Package Citations See dependency  
PCADSC  
Tools for Principal Component Analysis-Based Data Structure Comparisons
A suite of non-parametric, visual tools for assessing differences in data structures for two datase ...
Download / Learn more Package Citations See dependency  
RCytoGPS  
Using Cytogenetics Data in R
Defines classes and methods to process text-based cytogenetics using the CytoGPS web site, then imp ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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