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, value_wrap = NULL, ...)Arguments
- object
An object of class
instar_report.- value_wrap
Approximate characters per line for the item text. Defaults to the value stored on the report by
instar_report().- ...
Unused.
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)
} # }