Solt, Frederick, and Yue Hu. 2015. interplot: Plot the Coefficients of Variables in Interaction Terms. 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% confidential 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:
December 1, 2020
1 minute read, 95 words
methodology visualization
See Also: