MoPlot: Visualize and Interpret Contrasts in Regression Models

Visualizes and interprets the contrasts used to code categorical predictors in fitted regression models. Each coefficient is translated into the comparison between the levels, or groups of levels, that it estimates, derived from the hypothesis matrix of the contrast coding, and is displayed together with the coefficient, its confidence interval, and an approximate effect size. Interactions among categorical predictors are decomposed into differences of differences. Supports models fitted with 'stats', 'lme4', 'lmerTest', 'nlme', and 'glmmTMB'.

Version: 0.1.0
Imports: cli, effectsize, ggplot2 (≥ 4.0.0), glmmTMB, grid, lme4, lmerTest, MASS, nlme, parameters, patchwork, reformulas, tibble
Suggests: hypr, knitr, rmarkdown, testthat (≥ 3.0.0), vdiffr
Published: 2026-11-25
DOI: 10.32614/CRAN.package.MoPlot (may not be active yet)
Author: Umberto Granziol ORCID iD [aut, cre] (affiliation: University of Padova), Stefano Dalla Bona ORCID iD [aut] (affiliation: University of Padova), Lorenzo Atzeni ORCID iD [aut] (affiliation: University of Padova), Marianna Musa ORCID iD [aut] (affiliation: University of Padova)
Maintainer: Umberto Granziol <umberto.granziol at unipd.it>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: MoPlot results

Documentation:

Reference manual: MoPlot.html , MoPlot.pdf
Vignettes: Checking the comparisons you intended (source, R code)
Interactions among categorical predictors (source, R code)
Introduction and one categorical predictor (source, R code)

Downloads:

Package source: MoPlot_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MoPlot to link to this page.