- x
Object of class emmGrid or summary_emm
- y
(Required but ignored)
- type
Character value specifying the type of prediction desired
(matching "linear.predictor", "link", or "response").
See details under summary.emmGrid.
In addition, the user may specify type = "scale", in which case
a transformed scale (e.g., a log scale) is displayed based on the transformation
or link function used. Additional customization of this scale is available through
including arguments to ggplot2::scale_x_continuous in ... .
- CIs
Logical value. If TRUE, confidence intervals are
plotted for each estimate.
- PIs
Logical value. If TRUE, prediction intervals are
plotted for each estimate. If object is a Bayesian model,
this requires the ... arguments to include
frequentist = TRUE and sigma = (some value).
Note that the PIs option is not available with
summary_emm objects -- only for emmGrid objects.
Also, prediction intervals are not available
with engine = "lattice".
- comparisons
Logical value. If TRUE, “comparison arrows”
are added to the plot, in such a way that the degree to which arrows
overlap reflects as much as possible the significance of the comparison of
the two estimates. (A warning is issued if this can't be done.)
Note that comparison arrows are not available with `summary_emm` objects.
- colors
Optional character vector of colors to use for estimates, CIs, PIs,
and comparison arrows, respectively. If missing, these are derived from
ink, paper, and accent in the theme's geom element.
ink is used for the estimates, accent is used for comparison arrows,
and a contrasting color to accent is blended with paper for
the intervals.
If just one color is given, estimates and intervals are made from
various blends of that color and paper, and accent
color is used for comparison arrows.
- alpha
The significance level to use in constructing comparison arrows
- adjust
Character value: Multiplicity adjustment method for comparison arrows only.
- int.adjust
Character value: Multiplicity adjustment method for the plotted confidence intervals only.
- intervals
If specified, it is used to set CIs. This is the previous
argument name for CIs and is provided for backward compatibility.
- ...
Additional arguments passed to update.emmGrid,
summary.emmGrid,
predict.emmGrid, or
dotplot
- horizontal
Logical value specifying whether the intervals should be
plotted horizontally or vertically
- xlab
Character label for horizontal axis
- ylab
Character label for vertical axis
- layout
Numeric value passed to dotplot
when engine == "lattice".
- scale
Object of class trans (in the scales package) to
specify a nonlinear scale. This is used in lieu of type = "scale" when
plotting a summary_emm object created with type = "response".
This is ignored with other types of summaries.
- plotit
Logical value. If TRUE, a graphical object is returned;
if FALSE, a data.frame is returned containing all the values
used to construct the plot.