Learn R Programming

ggalign (version 1.2.0)

as_grob.formula: Convert Object into a Grob

Description

Convert Object into a Grob

Usage

# S3 method for formula
as_grob(x, ..., device = NULL, name = NULL)

# S3 method for `function` as_grob(x, ..., device = NULL, name = NULL)

Value

A grob object.

Arguments

x

An object to be converted into a grob.

...

Graphical Parameters passed on to par().

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 the pdf device. This default device may not be satisfactory when using custom fonts.

name

A character identifier.

<code>as_grob</code> method collections

  • as_grob.grob()

  • as_grob.gList()

  • as_grob.patch_ggplot()

  • as_grob.ggplot()

  • as_grob.ggalign::alignpatches()

  • as_grob.patchwork()

  • as_grob.patch()

  • as_grob.formula()

  • as_grob.recordedplot()

  • as_grob.trellis()

  • as_grob.Heatmap()

  • as_grob.pheatmap()

See Also

plot()

Other as_grob: as_grob.Heatmap(), 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.recordedplot(), as_grob.trellis()