Skip to contents

The ggplot2::autoplot() method for instar_report objects. Unlike plot(), which draws to the device, this returns the patchwork composition so you can modify it before rendering:

Usage

# S3 method for class 'instar_report'
autoplot(object, ...)

Arguments

object

An object of class instar_report.

...

Unused.

Value

A patchwork object.

Details

autoplot(rep) + patchwork::plot_annotation(caption = "Figure S1")

Examples

if (FALSE) { # \dontrun{
rep <- instar_report(instar_template(), list(title = "T", authors = "A"))
p <- autoplot(rep)
} # }