Learn R Programming

ggalign (version 1.0.1)

patch: Convert Object into a Grob

Description

The patch() function is used by ggwrap() and inset() to convert objects into a grob.

Usage

patch(x, ...)

Value

A grob object.

Arguments

x

An object to be converted into a grob.

...

Additional arguments passed to specific methods.

<code>patch</code> method collections

  • patch.grob()

  • patch.ggplot()

  • patch.patch_ggplot()

  • patch.alignpatches()

  • patch.patchwork()

  • patch.patch()

  • patch.formula()

  • patch.recordedplot()

  • patch.trellis()

  • patch.Heatmap()

  • patch.pheatmap()