Compute marginal effects at the mean or average marginal effects from statistical models and returns the result as tidy data frames. These data frames are ready to use with the 'ggplot2'package. Marginal effects can be calculated for many different models. Interaction terms, splines and polynomial terms are also supported. The two main functions are ggpredict() and ggaverage(), however, there are some convenient wrapperfunctions especially for polynomials or interactions. There is a generic plot()method to plot the results using 'ggplot2'.
Package details 


Maintainer  Daniel Lüdecke <[email protected]> 
License  GPL3 
Version  0.4.0 
URL  https://github.com/strengejacke/ggeffects https://strengejacke.github.io/ggeffects 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.