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'.

Package details

AuthorUmberto Granziol [aut, cre] (ORCID: <https://orcid.org/0000-0002-6286-6569>, affiliation: University of Padova), Stefano Dalla Bona [aut] (ORCID: <https://orcid.org/0009-0006-7749-3642>, affiliation: University of Padova), Lorenzo Atzeni [aut] (ORCID: <https://orcid.org/0009-0006-5307-9201>, affiliation: University of Padova), Marianna Musa [aut] (ORCID: <https://orcid.org/0009-0000-8791-1218>, affiliation: University of Padova)
MaintainerUmberto Granziol <umberto.granziol@unipd.it>
LicenseMIT + file LICENSE
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("MoPlot")

Try the MoPlot package in your browser

Any scripts or data that you put into this service are public.

MoPlot documentation built on Nov. 25, 2026, 5:10 p.m.