This generic add function allows to treat an instance of innsight_ggplot2
as an ordinary plot object of ggplot2. For example geoms,
themes and scales can be added as usual (see ggplot2::+.gg
for more
information).
Note: If e1
represents a multiplot (i.e., e1@mulitplot = TRUE
),
e2
is added to each individual plot. If only specific plots need to be
changed, the generic assignment function should be used (see
innsight_ggplot2 for details).
# S4 method for class 'innsight_ggplot2,ANY'
e1 + e2
An instance of the S4 class innsight_ggplot2
.
An object of class ggplot2::ggplot
or a ggplot2::theme
.
innsight_ggplot2
,
print.innsight_ggplot2
,
[.innsight_ggplot2
,
[[.innsight_ggplot2
,
[<-.innsight_ggplot2
,
[[<-.innsight_ggplot2