as_grob: Convert a plot object to a grob

View source: R/utils.R

as_grobR Documentation

Convert a plot object to a grob

Description

Convert various plot objects (gList, patchwork, ggplot) to a grob object.

Usage

as_grob(plot, ...)

Arguments

plot

A plot object (gList, patchwork, or ggplot).

...

Additional arguments passed to other functions.

Value

A grob object.


thisplot documentation built on March 7, 2026, 5:07 p.m.