graph_model_q provides an easy way to graph interactions in fitted
models. Selected variables will be graphed at +/- 1 SD (if continuous) or at
each level of the factor (if categorical).
Usage
graph_model_q(model, ...)
Arguments
model
A fitted linear model of type 'lm', 'glm', 'lme', or 'merMod'.
...
Additional arguments to be passed to the particular method for the
given model.
Value
A ggplot2 graph of the plotted variables in the model.
Details
Note that in most cases it is easier to use graph_model and
pass variable names in directly instead of strings of variable names.
graph_model_q uses standard evaluation in cases where such
evaluation is easier.