
Prepare plots via ggplot2 and assembles them as a list
Source: R/assemble.R, R/gamm4-methods.R
assemble.RdGeneric function for assembling plot objects created from R objects, using
the ggplot2 package.
Usage
assemble(object, ..., label_control = NULL)
# S3 method for class 'gamm4'
assemble(object, ...)Arguments
- object
and R object to plot.
- ...
arguments passed to other methods.
- label_control
Optional layout settings created by
draw_label_control(). These apply across drawing methods without changing their default appearance.
Value
A list of ggplot2::ggplot() objects.
Label layout
Pass label_control = draw_label_control(...) to draw() to wrap discrete
axis labels and legend text, stagger discrete tick labels, or adjust legend
and colour-bar layout. Settings apply to each panel, including unwrapped
plot lists. See draw_label_control() for the available settings.