View source: R/graph_effects.R
graph_all_effects | R Documentation |
This function is intended to quickly view and model output (e.g. interactions). All factor variables should be given contrasts.
graph_all_effects(
m,
p_threshold = 0.05,
x_pref = NULL,
fill_pref = NULL,
facet_pref = NULL,
continuous_x = FALSE,
colors = NULL
)
m |
A linear model. Standard OLS or logistic regression will work. |
p_threshold |
All p values less than or equal to this threshold will be graphed. |
x_pref |
An optional vector of preferences for the x axis. |
fill_pref |
An optional vector of preferences for the fill of the graph. |
facet_pref |
An optional vector of preferences for the facets of the graph. |
continuous_x |
If true, a line graph will be created for any continuous variables, rather than bar graphs with predicted values at +1/-1 SD. |
colors |
An optional vector of colors for the bars and lines of graphs. |
A set of ggplot graphs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.