innsight_ggplot2-print: Generic print, plot and show for 'innsight_ggplot2'

print,innsight_ggplot2-methodR Documentation

Generic print, plot and show for innsight_ggplot2

Description

The class innsight_ggplot2 provides the generic visualization functions print, plot and show, which all behave the same in this case. They create the plot of the results (see innsight_ggplot2 for details) and return it invisibly.

Usage

## S4 method for signature 'innsight_ggplot2'
print(x, ...)

## S4 method for signature 'innsight_ggplot2'
show(object)

## S4 method for signature 'innsight_ggplot2'
plot(x, y, ...)

Arguments

x

An instance of the S4 class innsight_ggplot2.

...

Further arguments passed to the base function print if x@multiplot is FALSE. Otherwise, if x@multiplot is TRUE, the arguments are passed to gridExtra::arrangeGrob.

object

An instance of the S4 class innsight_ggplot2.

y

unused argument

Value

For multiple plots (x@multiplot = TRUE), a gtable::gtable and otherwise a ggplot2::ggplot object is returned invisibly.

See Also

innsight_ggplot2, +.innsight_ggplot2, [.innsight_ggplot2, [[.innsight_ggplot2, [<-.innsight_ggplot2, [[<-.innsight_ggplot2


innsight documentation built on May 29, 2024, 4:36 a.m.