Description Usage Arguments Computed variables
View source: R/layer_fit_data.R
Add the data used to fit the model on which the ggeffects
grid is based.
Data can be residualized (with residualize_over_grid()
) for partial
residual plots and/or collapsed across a grouping variable (with
collapse_by_group()
).
1 2 3 4 5 6 7 8 9 10 11 12 |
mapping |
Set of aesthetic mappings created by |
geom |
The geometric object to use display the data |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
residuals |
Return partially residualized data instead of the raw data? |
collapse.by |
For multilevel models, the name of the random grouping
variable over which data should be aggregated prior to plotting. If |
The 1-to-4 terms (by their name)
predicted
- The response / predicted outcome + residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.