interplot

Solt, Frederick, Yue Hu, and Brenton Kenkel. 2026. interplot: Plot the Effects of Variables in Interaction Terms. R package version 1.2.0. The Comprehensive R Archive Network (CRAN).

CRAN version

interplot is a tool for plotting the conditional coefficients (“marginal effects”) of variables included in multiplicative interaction terms. The function plots the changes in the coefficient of one variable in a two-way interaction term conditional on the value of the other included variable. The resulting plot also includes simulated 95% confidence intervals of these coefficients.

To install:

  • the latest released version: install.packages("interplot").
  • the latest development version: devtools::install_github("sammo3182/interplot").

For more details, check out the vignette

Posted on:
June 24, 2026
Length:
1 minute read, 101 words
Categories:
methodology visualization
See Also: