GG_plot_models | R Documentation |
Expects output from broom::tidy()
on a list of models. Most conveniently from get_model_coefs()
or compare_predictors
.
GG_plot_models(model_coefs, exclude = "(Intercept)")
model_coefs |
A data frame with model coefficients |
exclude |
A string to exclude from the plot. Default is "(Intercept)" |
A ggplot2 object
#compare the coefficients of two models
iris_model_coefs = compare_predictors(iris, names(iris)[1], names(iris)[-1])
GG_plot_models(iris_model_coefs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.