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 wrapper-functions especially for polynomials or interactions. There is a generic 'plot()'-method to plot the results using 'ggplot2'.
|Author||Daniel Lüdecke <[email protected]>|
|Date of publication||2017-11-27 18:33:55 UTC|
|Maintainer||Daniel Lüdecke <[email protected]>|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.