patch: Convert Object into a Grob

View source: R/alignpatch-patch.R

patchR Documentation

Convert Object into a Grob

Description

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

Usage

patch(x, ...)

Arguments

x

An object to be converted into a grob.

...

Additional arguments passed to specific methods.

Value

A grob object.

patch 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()


ggalign documentation built on June 8, 2025, 11:25 a.m.