Convert Object into a Grob
Usage
# S3 method for class 'recordedplot'
as_grob(x, ..., device = NULL)Arguments
- x
An object to be converted into a
grob.- ...
Additional arguments passed to specific methods.
- device
A function that opens a graphics device for
grid.echo()to work on. By default this is an off-screen, in-memory device based on thepdfdevice. This default device may not be satisfactory when using custom fonts.
Value
A grob object.
See also
Other as_grob:
as_grob.Heatmap(),
as_grob.formula(),
as_grob.gList(),
as_grob.ggalign::alignpatches(),
as_grob.ggplot(),
as_grob.grob(),
as_grob.patch(),
as_grob.patch_ggplot(),
as_grob.patchwork(),
as_grob.pheatmap(),
as_grob.trellis()
