Plot the Effects of Variables in Interaction Terms

Plots the conditional coefficients ("marginal effects") of variables included in multiplicative interaction terms.


pkgdown

CRAN version


interplot

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 plot also includes simulated 95% confidential intervals of these coefficients.

To install:

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

More details are available at:

http://cran.r-project.org/web/packages/interplot/vignettes/interplot-vignette.html

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("interplot")

1.2.0 by Yue Hu, 3 months ago


Report a bug at https://github.com/sammo3182/interplot/issues


Browse source code at https://github.com/cran/interplot


Authors: Frederick Solt [aut] , Yue Hu [aut, cre] , Brenton Kenkel [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports stats, abind, arm, dplyr, purrr, lme4, interactionTest

Depends on ggplot2

Suggests knitr, rmarkdown, mitools, gridExtra, merTools, brms, splines, testthat


See at CRAN