add_group_model | R Documentation |
The group model is represented by mean lines for each group in the model. The values for these
lines are extracted using the formula with the passed data, and then plotted via
gf_segment()
. If this plot is not being chained to a prior plot, a blank point plot is
created to make sure the axes are informative and have the range of the original data.
add_group_model(object, gformula, data, width = 0.3, ...)
object |
A gg object to chain to, optionally. |
gformula |
A formula of the shape |
data |
The data the formula refers to. |
width |
The width of the mean lines to be plotted. |
... |
Additional arguments passed to |
A gg object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.